zsh-workers
 help / color / mirror / code / Atom feed
From: mason@primenet.com.au (Geoff Wing)
To: zsh-workers@sunsite.auc.dk
Subject: Re: Possible bug?
Date: 2 Jan 2000 01:06:08 GMT	[thread overview]
Message-ID: <slrn86t940.qrt.mason@coral.primenet.com.au> (raw)
In-Reply-To: <E124ZIb-0006f0-00@crucigera.fysh.org>

Zefram <zefram@fysh.org> 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 : <gcw@pobox.com>     Work URL: http://www.primenet.com.au/
Rxvt Stuff : <gcw@rxvt.org>      Ego URL : http://pobox.com/~gcw/
Zsh Stuff  : <gcw@zsh.org>       Phone   : (Australia) 0413 431 874


  reply	other threads:[~2000-01-02  1:06 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-01-01 11:05 Mike Perez
2000-01-02  0:51 ` pollux
2000-01-02  0:55 ` Zefram
2000-01-02  1:06   ` Geoff Wing [this message]
  -- strict thread matches above, loose matches on Subject: below --
1999-09-16 22:59 possible bug? Glenn Trigg
1999-09-17  0:29 ` Bart Schaefer
1999-09-17  0:36   ` Glenn Trigg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=slrn86t940.qrt.mason@coral.primenet.com.au \
    --to=mason@primenet.com.au \
    --cc=zsh-workers@sunsite.auc.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).