chore(unitproc):timeDuration:Added missing comment about exit 2
[BK-2020-03.git] / unitproc / bktemp-dateShort
index 26086454591097dfa984128907a7cab3bb99e3d7..38b39ebe55c5505020eaf39c88f356fb266e76fb 100644 (file)
@@ -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";
     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)"
 
 #==BEGIN sample code==
 echo "The current day is:$(dateShort)"