From 4a0006724e0ac11caefee76e721e03b495b6b7cd Mon Sep 17 00:00:00 2001 From: Jephte Clain Date: Sat, 21 Oct 2023 20:07:32 +0400 Subject: [PATCH] =?UTF-8?q?ajouter=20les=20nano-secondes=20=C3=A0=20la=20d?= =?UTF-8?q?ate?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bash/src/base.output.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash/src/base.output.sh b/bash/src/base.output.sh index 5805a24..731f95c 100644 --- a/bash/src/base.output.sh +++ b/bash/src/base.output.sh @@ -112,7 +112,7 @@ function uecho_() { tooenc_ "$*"; } export NULIB_ELOG_DATE NULIB_ELOG_MYNAME function __edate() { [ -n "$NULIB_ELOG_DATE" ] || return - local prefix="$(date +"[%d/%m/%Y-%H:%M:%S] ")" + local prefix="$(date +"[%F %T.%N] ")" [ -n "$NULIB_ELOG_MYNAME" ] && prefix="$prefix$MYNAME " echo "$prefix" }