Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

PATCH: zsh/datetime docs



Index: Doc/Makefile.in
===================================================================
RCS file: /cvsroot/zsh/zsh/Doc/Makefile.in,v
retrieving revision 1.18
diff -u -r1.18 Makefile.in
--- Doc/Makefile.in	30 Aug 2003 19:06:09 -0000	1.18
+++ Doc/Makefile.in	25 Oct 2003 17:34:19 -0000
@@ -57,7 +57,8 @@
 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 \
Index: Doc/Zsh/mod_datetime.yo
===================================================================
RCS file: Doc/Zsh/mod_datetime.yo
diff -N Doc/Zsh/mod_datetime.yo
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ Doc/Zsh/mod_datetime.yo	25 Oct 2003 17:34:19 -0000
@@ -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()



Messages sorted by: Reverse Date, Date, Thread, Author