Make date more portable

This commit is contained in:
Ryan Ziolko 2021-06-10 16:23:36 -05:00 committed by GitHub
parent d080b09b1e
commit 2f1d6ef939
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -108,7 +108,7 @@ for file in "${tmp}/ok/"*.status; do
done
cat << EOF
</ul>
<p class=small> Last check: $(date -I'seconds')</p>
<p class=small> Last check: $(date +%FT%T%z)</p>
EOF
if [ -f "${incidentsfile}" ]; then
echo '<h1>Incidents</h1>'