Make date more portable

main
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
1 changed files with 1 additions and 1 deletions

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>'