From 4c11fbe410a9ae5ea753a9ca36c06032f9004e2e Mon Sep 17 00:00:00 2001 From: fatalerrors Date: Sat, 17 Dec 2022 19:11:51 +0100 Subject: [PATCH] stdtime(): removed timezone in our standard date format, useless --- lib/utils.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/utils.sh b/lib/utils.sh index 498cbfc..c921e36 100644 --- a/lib/utils.sh +++ b/lib/utils.sh @@ -12,7 +12,7 @@ # Define normalised time display, filename friendly stdtime() { - date --rfc-3339=seconds | sed -e 's/ /-/' -e 's/://g' + date --rfc-3339=seconds | sed -e 's/ /-/' -e 's/://g' | cut -d'+' -f1 } export -f stdtime