docker entrypoint: always use UTC

Now the format always ends in +00:00, and we can ignore that part again.
This commit is contained in:
tcely
2023-05-12 04:00:47 -04:00
parent d1d7bd049c
commit 3e0a9e0bb0

View File

@@ -29,7 +29,7 @@ fi
# Backup store log just in case
_file="${logd}/smp-server-store.log"
if [ -f "${_file}" ]; then
_backup_extension="$(date --iso-8601=seconds)"
_backup_extension="$(date --universal --iso-8601=seconds)"
cp -v -p "${_file}" "${_file}.${_backup_extension:-date-failed}"
unset -v _backup_extension
fi