From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27530 invoked from network); 2 Jan 2000 01:03:13 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 2 Jan 2000 01:03:13 -0000 Received: (qmail 8046 invoked by alias); 2 Jan 2000 01:02:42 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 9179 Received: (qmail 8039 invoked from network); 2 Jan 2000 01:02:41 -0000 To: Mike Perez Cc: zsh-workers@math.gatech.edu Subject: Re: Possible bug? References: <20000101030505.A1857@mindcrime.corp.ef.net> From: pollux Date: 02 Jan 2000 01:51:27 +0100 In-Reply-To: Mike Perez's message of "Sat, 1 Jan 2000 03:05:05 -0800" Message-ID: User-Agent: Gnus/5.070096 (Pterodactyl Gnus v0.96) Emacs/20.5 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit >>> "Mike" == Mike Perez writes: [...] Mike> RPROMPT='[%D{%b %d, %G} / %t]' Mike> And on the prompt, it displays this: Mike> mike@mindcrime: ~> [Jan 01, 1999 / 3:04AM] Mike> But date says this: Mike> Sat Jan 1 03:04:42 PST 2000 Since the ISO week is 52, %G is still saying 1999, wich is right. %G The ISO 8601 year with century as a decimal number. The 4-digit year corresponding to the ISO week num­ ber (see %V). This has the same format and value as %y, except that if the ISO week number belongs to the previous or next year, that year is used instead. You may want to use %Y instead. Mike> - Mike -- Alexandre Duret-Lutz