From: pollux <duret_g@epita.fr>
To: Mike Perez <mike@ef.net>
Cc: zsh-workers@math.gatech.edu
Subject: Re: Possible bug?
Date: 02 Jan 2000 01:51:27 +0100 [thread overview]
Message-ID: <mvb1z81nvn4.fsf@phobos.lrde.epita.fr> (raw)
In-Reply-To: Mike Perez's message of "Sat, 1 Jan 2000 03:05:05 -0800"
>>> "Mike" == Mike Perez <mike@ef.net> 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
next prev parent reply other threads:[~2000-01-02 1:03 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 [this message]
2000-01-02 0:55 ` Zefram
2000-01-02 1:06 ` Geoff Wing
-- 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=mvb1z81nvn4.fsf@phobos.lrde.epita.fr \
--to=duret_g@epita.fr \
--cc=mike@ef.net \
--cc=zsh-workers@math.gatech.edu \
/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).