Change logger date output to be language agnostic
This commit is contained in:
parent
6222fd6872
commit
7c11240034
|
@ -280,7 +280,7 @@ function Logger {
|
||||||
if [ "$_LOGGER_PREFIX" == "time" ]; then
|
if [ "$_LOGGER_PREFIX" == "time" ]; then
|
||||||
prefix="TIME: $SECONDS - "
|
prefix="TIME: $SECONDS - "
|
||||||
elif [ "$_LOGGER_PREFIX" == "date" ]; then
|
elif [ "$_LOGGER_PREFIX" == "date" ]; then
|
||||||
prefix="$(date) - "
|
prefix="$(date '+%Y-%m-%d %H:%M:%S') - "
|
||||||
else
|
else
|
||||||
prefix=""
|
prefix=""
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue