diff options
author | Leon Rische <leon.rische@me.com> | 2020-02-08 15:20:38 +0100 |
---|---|---|
committer | Leon Rische <leon.rische@me.com> | 2020-02-08 15:20:38 +0100 |
commit | fcc36370abdebbf9aba84d3373f4811e8dd8406f (patch) | |
tree | a8848ada80140014a2c9b7d6751b1b46eb17d6dd /awk/utils.awk | |
parent | f3cf22541e7310235e65d56dd893bbf68a31b232 (diff) |
Add "Z" suffix to iso8601 timestamps
Diffstat (limited to 'awk/utils.awk')
-rw-r--r-- | awk/utils.awk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/awk/utils.awk b/awk/utils.awk index 00045de..159f9b7 100644 --- a/awk/utils.awk +++ b/awk/utils.awk @@ -15,7 +15,7 @@ function trim_surrounding(str) { # Time n days before the current time function time_days_ago(n) { - return strftime("%FT%T", systime() - 24 * 60 * 60 * n, 1); + return strftime("%FT%TZ", systime() - 24 * 60 * 60 * n, 1); } function or_default(var, def) { |