Use rfc-2822 for log timestamp

This commit is contained in:
Geoff Bourne
2022-02-05 22:56:24 -06:00
parent 68b926f2b1
commit c2bf2bbcc5

View File

@@ -93,7 +93,7 @@ function log() {
shopt -u -o xtrace
if isDebugging || isTrue "${LOG_TIMESTAMP:-false}"; then
ts=" $(date --rfc-3339=seconds)"
ts=" $(date --rfc-2822)"
else
ts=
fi