From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 222 invoked from network); 25 Oct 2003 17:35:07 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 25 Oct 2003 17:35:07 -0000 Received: (qmail 2193 invoked by alias); 25 Oct 2003 17:34:55 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 19202 Received: (qmail 2154 invoked from network); 25 Oct 2003 17:34:55 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 25 Oct 2003 17:34:55 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [216.254.112.142] by sunsite.dk (MessageWall 1.0.8) with SMTP; 25 Oct 2003 17:34:55 -0000 Received: by acolyte.scowler.net (Postfix, from userid 1000) id 9D41D70047; Sat, 25 Oct 2003 13:34:54 -0400 (EDT) Date: Sat, 25 Oct 2003 13:34:54 -0400 From: Clint Adams To: zsh-workers@sunsite.dk Subject: PATCH: zsh/datetime docs Message-ID: <20031025173454.GA26939@acolyte.scowler.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.4i 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()