diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2004-01-22 17:51:05 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2004-01-22 17:51:05 +0000 |
commit | e461877f4063348b5c02aae691367c3cb155eeb7 (patch) | |
tree | 6298a06dda2f1ae870052d6a07f4713b7a85db4d /Doc/Zsh/mod_datetime.yo | |
parent | 63b336243fdf5e60058472fa456ed11e75280189 (diff) | |
download | zsh-e461877f4063348b5c02aae691367c3cb155eeb7.tar.gz zsh-e461877f4063348b5c02aae691367c3cb155eeb7.tar.xz zsh-e461877f4063348b5c02aae691367c3cb155eeb7.zip |
19389+: fix zmodload -u zsh/datetime, add strftime -s scalar
Diffstat (limited to 'Doc/Zsh/mod_datetime.yo')
-rw-r--r-- | Doc/Zsh/mod_datetime.yo | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Doc/Zsh/mod_datetime.yo b/Doc/Zsh/mod_datetime.yo index cf5ca4379..b006baf89 100644 --- a/Doc/Zsh/mod_datetime.yo +++ b/Doc/Zsh/mod_datetime.yo @@ -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() |