From e461877f4063348b5c02aae691367c3cb155eeb7 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Thu, 22 Jan 2004 17:51:05 +0000 Subject: 19389+: fix zmodload -u zsh/datetime, add strftime -s scalar --- Doc/Zsh/mod_datetime.yo | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Doc/Zsh/mod_datetime.yo') 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() -- cgit 1.4.1