From: Steven Baltakatei Sandoval Date: Wed, 1 Jul 2020 15:43:32 +0000 (+0000) Subject: chore(unitproc):dateShort: minor comment change X-Git-Tag: 0.2.0~18 X-Git-Url: https://zdv2.bktei.com/gitweb/BK-2020-03.git/commitdiff_plain/50aec1144a254b0a51fc5748cbff73ef770bc2e2 chore(unitproc):dateShort: minor comment change --- diff --git a/unitproc/bktemp-dateShort b/unitproc/bktemp-dateShort index 2608645..38b39eb 100644 --- a/unitproc/bktemp-dateShort +++ b/unitproc/bktemp-dateShort @@ -10,7 +10,7 @@ dateShort(){ TIME_CURRENT="$(date --iso-8601=seconds)" ; # Produce `date`-parsable current timestamp with resolution of 1 second. DATE_CURRENT_SHORT="$(date -d "$TIME_CURRENT" +%Y%m%d)"; # Produce separator-less current date with resolution 1 day. echo "$DATE_CURRENT_SHORT"; -} # Get date without separators +} # Get YYYYmmdd #==BEGIN sample code== echo "The current day is:$(dateShort)"