From 5fd01a1614edc33832ea19ddd2c6910fe2fe6b42 Mon Sep 17 00:00:00 2001 From: Jeremy Lecour Date: Wed, 5 Sep 2018 18:45:08 +0200 Subject: [PATCH] use locale timezone --- evomaintenance.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/evomaintenance.sh b/evomaintenance.sh index 5096665..3782126 100644 --- a/evomaintenance.sh +++ b/evomaintenance.sh @@ -21,8 +21,8 @@ IP=$(echo ${WHO} | cut -d" " -f6 | sed -e "s/^(// ; s/)$//") BEGIN_DATE=$(echo ${WHO} | cut -d" " -f3,4,5) BEGIN_YEAR=$(date "+%Y") -# end_date -NOW=$(date -u +"%Y-%m-%dT%H:%M:%SZ") +# "date --iso8601" is not available everywhere +NOW=$(date +"%Y-%m-%dT%H:%M:%S%z") # details echo "Please, enter details about your maintenance"