Use ISO8601 date format
The manually formatted date string was very close to ISO8601 already, so just it directly. Conforms to standards, is much easier in code (less manual work), and carries timezone information.
This commit is contained in:
parent
491fdce44f
commit
d7a3feb6f3
1 changed files with 1 additions and 1 deletions
|
@ -106,7 +106,7 @@ for file in ${tmp}/ok/*.status; do
|
|||
done
|
||||
cat << EOF
|
||||
</ul>
|
||||
<p class=small> Last check: $(date +"%Y/%m/%d %H:%M:%S")</p>
|
||||
<p class=small> Last check: $(date -I'seconds')</p>
|
||||
EOF
|
||||
if [ -f "${incidentsfile}" ]; then
|
||||
echo '<h1>Incidents</h1>'
|
||||
|
|
Loading…
Reference in a new issue