use locale timezone
This commit is contained in:
parent
583642945b
commit
5fd01a1614
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue