bin/werclib.rc: annotate ndate -i 'iso-8601 lite'

This commit is contained in:
stanley lieber 2020-06-09 20:40:15 -04:00
parent be296ef2ea
commit e7eba3977e

View File

@ -357,7 +357,7 @@ fn ndate {
case -a # rfc3339 case -a # rfc3339
tz=`{echo $tz | sed 's/00$/:00/'} tz=`{echo $tz | sed 's/00$/:00/'}
echo $date(6)^-$mo-$da^T^$date(4)^$tz echo $date(6)^-$mo-$da^T^$date(4)^$tz
case -i case -i # iso-8601 lite
echo $date(6)^-$mo-$da echo $date(6)^-$mo-$da
case -m # rfc2822 case -m # rfc2822
echo $date(1)^, $da $date(2) $date(6) $date(4) $tz echo $date(1)^, $da $date(2) $date(6) $date(4) $tz