From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27625 invoked from network); 2 Jan 2000 01:06:21 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 2 Jan 2000 01:06:21 -0000 Received: (qmail 8408 invoked by alias); 2 Jan 2000 01:06:16 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 9180 Received: (qmail 8401 invoked from network); 2 Jan 2000 01:06:15 -0000 To: zsh-workers@sunsite.auc.dk Path: mason From: mason@primenet.com.au (Geoff Wing) X-Newsgroups: lists.zsh.workers Subject: Re: Possible bug? Date: 2 Jan 2000 01:06:08 GMT Organization: PrimeNet Computer Consultants Distribution: local Message-ID: References: <20000101030505.A1857@mindcrime.corp.ef.net> from Mike Perez at Reply-To: mason@primenet.com.au NNTP-Posting-Host: coral.primenet.com.au X-Trace: coral.primenet.com.au 946775168 27518 203.43.15.2 (2 Jan 2000 01:06:08 GMT) X-Complaints-To: usenet@coral.primenet.com.au NNTP-Posting-Date: 2 Jan 2000 01:06:08 GMT User-Agent: slrn/0.9.6.2 (NetBSD) Zefram typed: :Mike Perez wrote: :>Well I am not sure if this is a bug or not, but I was able to reproduce :>it on a few machines that all were in Y2K. :I can reproduce it too: :% date :Sun Jan 2 00:48:08 GMT 2000 :% print -P '%D{%G}' :1999 :% date +%G :1999 >>From my strftime(3): " %G is replaced by the ISO 8601 year with century as a decimal number. %V is replaced by the week number of the year (Monday as the first day of the week) as a decimal number [01,53]. According to ISO 8601 the week containing January 1 is week 1 if it has four or more days in the new year, otherwise it is week 53 of the previous year, and the next week is week 1. The year is given by the `%G' conversion specification." Regards, -- Geoff Wing : Work URL: http://www.primenet.com.au/ Rxvt Stuff : Ego URL : http://pobox.com/~gcw/ Zsh Stuff : Phone : (Australia) 0413 431 874