about summary refs log tree commit diff
path: root/Doc
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2003-10-25 17:38:18 +0000
committerClint Adams <clint@users.sourceforge.net>2003-10-25 17:38:18 +0000
commita7803f9dafcc2745db67bd9580050da79271bab2 (patch)
tree7df6c063c9366fc11e856a718f03dca64b42654c /Doc
parenta19eb0c4f0a51365d73e3421176e282227f8e0d4 (diff)
downloadzsh-a7803f9dafcc2745db67bd9580050da79271bab2.tar.gz
zsh-a7803f9dafcc2745db67bd9580050da79271bab2.tar.xz
zsh-a7803f9dafcc2745db67bd9580050da79271bab2.zip
19202: Doc/Makefile.in, Doc/Zsh/mod_datetime.yo: rudimentary documentation
for zsh/datetime module.
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()