chore(unitproc):Add comment to dateTimeShort
authorSteven Baltakatei Sandoval <baltakatei@gmail.com>
Sun, 28 Jun 2020 19:50:53 +0000 (19:50 +0000)
committerSteven Baltakatei Sandoval <baltakatei@gmail.com>
Sun, 28 Jun 2020 19:50:53 +0000 (19:50 +0000)
unitproc/bktemp-dateTimeShort

index d6491c1da1d7cc310af27d5567a33471513a0431..dc470e01cfadde0ffa45bc50c84db7ce589c453f 100644 (file)
@@ -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)"