fix(session_duration): Use jq with TZ=UTC (#1195)

This commit is contained in:
Pepe Fagoaga
2022-06-15 13:25:43 +02:00
committed by GitHub
parent d85d0f5877
commit 3944ea2055
3 changed files with 11 additions and 10 deletions
+2
View File
@@ -36,6 +36,8 @@ SEND_TO_SECURITY_HUB=0
export SEND_TO_SECURITY_HUB
# Date & Time
TZ=UTC
export TZ
PROWLER_START_TIME=$( date -u +"%Y-%m-%dT%H:%M:%S%z" )
export PROWLER_START_TIME
OUTPUT_DATE=$(date -u +"%Y%m%d%H%M%S")