From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2393 invoked from network); 10 Oct 2003 16:47:09 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 10 Oct 2003 16:47:09 -0000 Received: (qmail 11226 invoked by alias); 10 Oct 2003 16:46:26 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 6686 Received: (qmail 11183 invoked from network); 10 Oct 2003 16:46:25 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 10 Oct 2003 16:46:25 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [199.67.51.101] by sunsite.dk (MessageWall 1.0.8) with SMTP; 10 Oct 2003 16:46:24 -0000 Received: (from dan@localhost) by dan.emsphone.com (8.12.9/8.12.9) id h9AGkNdD025192 for zsh-users@sunsite.dk; Fri, 10 Oct 2003 11:46:23 -0500 (CDT) (envelope-from dan) Date: Fri, 10 Oct 2003 11:46:23 -0500 From: Dan Nelson To: zsh-users@sunsite.dk Subject: Re: Useful zsh/datetime things Message-ID: <20031010164623.GB77306@dan.emsphone.com> References: <22603.1065722644@csr.com> <1031009172754.ZM10491@candle.brasslantern.com> <20031009181245.GA22161@globnix.org> <1031010021511.ZM11252@candle.brasslantern.com> <20031010125630.GB15016@globnix.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20031010125630.GB15016@globnix.org> X-OS: FreeBSD 5.1-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.4i In the last episode (Oct 10), Phil Pennock said: > I submitted a patch for FreeBSD 3.x some time ago; the change-request PR > was closed a couple of years later on the basis that the functionality > had already been added, and referred to the relevant PR which showed it > -- the same one! They closed my PR by referring to my PR. > Head-in-hands moment ... > http://www.freebsd.org/cgi/query-pr.cgi?pr=misc/20159 That url at the bottom of the PR webpage was not added by the responder. Gnats automatically adds it to the end of every email. The %z commit was made to -CURRENT (4.0 at that time) 5 months before you submitted your PR. I'm not sure why it wasn't merged back into -STABLE (3.4 at that time). RCS file: /home/ncvs/src/lib/libc/stdtime/strftime.c,v revision 1.25 date: 2000/01/28 17:40:42; author: joerg; state: Exp; lines: +17 -1 branches: 1.25.2; There were so far only 42 different conversion specifications in strftime(3), add another one. :) %z yields the local timezone's offset in hours and minutes, as used in RFC822 headers. There's a precedence for this in Lunux' libc, and Internet software (like Perl scripts) start using it. OKed by (wrt. the code freeze): jkh -- Dan Nelson dnelson@allantgroup.com