date in UTC and ISO 8601 (with hours and minutes)

This commit is contained in:
OniriCorpe 2023-08-18 16:11:18 +02:00
parent 8a3df29cb5
commit 84513da476

View file

@ -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"