about summary refs log tree commit diff
path: root/Doc
diff options
context:
space:
mode:
Diffstat (limited to 'Doc')
-rw-r--r--Doc/Makefile.in3
-rw-r--r--Doc/Zsh/mod_datetime.yo23
2 files changed, 25 insertions, 1 deletions
diff --git a/Doc/Makefile.in b/Doc/Makefile.in
index 692b7653b..1fb2386ff 100644
--- a/Doc/Makefile.in
+++ b/Doc/Makefile.in
@@ -57,7 +57,8 @@ MODDOCSRC = \
 Zsh/mod_cap.yo Zsh/mod_clone.yo \
 Zsh/mod_compctl.yo Zsh/mod_complete.yo Zsh/mod_complist.yo \
 Zsh/mod_computil.yo \
-Zsh/mod_deltochar.yo Zsh/mod_example.yo Zsh/mod_files.yo \
+Zsh/mod_datetime.yo Zsh/mod_deltochar.yo \
+Zsh/mod_example.yo Zsh/mod_files.yo \
 Zsh/mod_mapfile.yo Zsh/mod_mathfunc.yo Zsh/mod_parameter.yo Zsh/mod_pcre.yo \
 Zsh/mod_sched.yo Zsh/mod_socket.yo \
 Zsh/mod_stat.yo  Zsh/mod_system.yo Zsh/mod_tcp.yo \
diff --git a/Doc/Zsh/mod_datetime.yo b/Doc/Zsh/mod_datetime.yo
new file mode 100644
index 000000000..cf5ca4379
--- /dev/null
+++ b/Doc/Zsh/mod_datetime.yo
@@ -0,0 +1,23 @@
+COMMENT(!MOD!zsh/datetime
+Some date/time commands and parameters.
+!MOD!)
+The tt(zsh/datetime) module makes available one builtin command:
+
+startitem()
+findex(strftime)
+cindex(date string, printing)
+item(tt(strftime) var(format) var(epochtime) )(
+Output the date denoted by var(epochtime) in the var(format)
+specified.
+)
+enditem()
+
+The tt(zsh/datetime) module makes available one parameter:
+
+startitem()
+vindex(EPOCHSECONDS)
+item(tt(EPOCHSECONDS))(
+An integer value representing the number of seconds since the
+epoch.
+)
+enditem()