Change logger date output to be language agnostic

This commit is contained in:
Orsiris de Jong 2018-07-14 15:37:14 +02:00 committed by GitHub
parent 6222fd6872
commit 7c11240034
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -280,7 +280,7 @@ function Logger {
if [ "$_LOGGER_PREFIX" == "time" ]; then
prefix="TIME: $SECONDS - "
elif [ "$_LOGGER_PREFIX" == "date" ]; then
prefix="$(date) - "
prefix="$(date '+%Y-%m-%d %H:%M:%S') - "
else
prefix=""
fi