19389+: fix zmodload -u zsh/datetime, add strftime -s scalar

This commit is contained in:
Peter Stephenson
2004-01-22 17:51:05 +00:00
parent 63b336243f
commit e461877f40
3 changed files with 34 additions and 5 deletions

View File

@@ -6,9 +6,12 @@ The tt(zsh/datetime) module makes available one builtin command:
startitem()
findex(strftime)
cindex(date string, printing)
item(tt(strftime) var(format) var(epochtime) )(
item(tt(strftime) [ tt(-s) var(scalar) ] var(format) var(epochtime) )(
Output the date denoted by var(epochtime) in the var(format)
specified.
If tt(-s) var(scalar) is given, assign the date to var(scalar) instead
of printing it.
)
enditem()