From 84513da4768ad6d48aa92c06e2c3a27e9fac78fb Mon Sep 17 00:00:00 2001 From: OniriCorpe Date: Fri, 18 Aug 2023 16:11:18 +0200 Subject: [PATCH] date in UTC and ISO 8601 (with hours and minutes) --- genlog.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/genlog.sh b/genlog.sh index 2547cc6..67d855e 100755 --- a/genlog.sh +++ b/genlog.sh @@ -21,8 +21,8 @@ else fi -# generating the current date for the footer -date="$(date)" +# get the current date for the footer (UTC and ISO 8601 with hours and minutes) +date=$(date -u --iso-8601=minutes) sed "s/GEN_DATE/$date/" html/footer.html > "$tempdir/footer.html"