mirror of
https://git.code.sf.net/p/zsh/code
synced 2026-04-18 06:53:35 -04:00
19389+: fix zmodload -u zsh/datetime, add strftime -s scalar
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user