From: Steven Baltakatei Sandoval Date: Sun, 28 Jun 2020 19:50:53 +0000 (+0000) Subject: chore(unitproc):Add comment to dateTimeShort X-Git-Tag: 0.2.0~34 X-Git-Url: https://zdv2.bktei.com/gitweb/BK-2020-03.git/commitdiff_plain/0f48af59d8759f8a46dfacf58758476ddbe2a3cf?ds=sidebyside;hp=ea8ea560b8fd5d0ce500ef462eb0142c419167a5 chore(unitproc):Add comment to dateTimeShort --- diff --git a/unitproc/bktemp-dateTimeShort b/unitproc/bktemp-dateTimeShort index d6491c1..dc470e0 100644 --- a/unitproc/bktemp-dateTimeShort +++ b/unitproc/bktemp-dateTimeShort @@ -9,7 +9,7 @@ dateTimeShort(){ TIME_CURRENT="$(date --iso-8601=seconds)" ; # Produce `date`-parsable current timestamp with resolution of 1 second. TIME_CURRENT_SHORT="$(date -d "$TIME_CURRENT" +%Y%m%dT%H%M%S%z)"; # Produce separator-less current timestamp with resolution 1 second. echo "$TIME_CURRENT_SHORT"; -} +} # Get date&time without separators #==BEGIN sample code== echo "The current day and time is:$(dateTimeShort)"