From 33fff1c5a2d4c6029e1af8b9a6f2613f59c9b832 Mon Sep 17 00:00:00 2001 From: deajan Date: Sun, 30 Sep 2018 13:44:38 +0200 Subject: [PATCH] Updated date format --- dev/ofunctions.sh | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/dev/ofunctions.sh b/dev/ofunctions.sh index f282b35..90a15d1 100644 --- a/dev/ofunctions.sh +++ b/dev/ofunctions.sh @@ -7,8 +7,8 @@ #### OFUNCTIONS FULL SUBSET #### #### OFUNCTIONS MINI SUBSET #### -_OFUNCTIONS_VERSION=2.3.0-dev -_OFUNCTIONS_BUILD=2018070902 +_OFUNCTIONS_VERSION=2.3.0-beta1 +_OFUNCTIONS_BUILD=2018080801 #### _OFUNCTIONS_BOOTSTRAP SUBSET #### _OFUNCTIONS_BOOTSTRAP=true #### _OFUNCTIONS_BOOTSTRAP SUBSET END #### @@ -22,8 +22,6 @@ _OFUNCTIONS_BOOTSTRAP=true ## _LOGGER_ERR_ONLY=true/false ## _LOGGER_PREFIX="date"/"time"/"" -#TODO: global WAIT_FOR_TASK_COMPLETION_id instead of callerName has to be backported to ParallelExec and osync / obackup / pmocr ocde - ## Logger sets {ERROR|WARN}_ALERT variable when called with critical / error / warn loglevel ## When called from subprocesses, variable of main process cannot be set. Status needs to be get via $RUN_DIR/$PROGRAM.Logger.{error|warn}.$SCRIPT_PID.$TSTAMP @@ -280,7 +278,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