From: Bousfield Peter <Peter.Bousfield@wmc.com.au>
To: "'zsh-workers@math.gatech.edu'" <zsh-workers@math.gatech.edu>
Subject: date bug in zsh 3.0.5
Date: Wed, 30 Dec 1998 14:59:14 +0800 [thread overview]
Message-ID: <B0001133321@bell04.its.wmc.com.au> (raw)
Hello,
The %W prompt variable does not seem to work correctly in zsh 3.0.5
We are running solaris 2.6 and have zsh 3.0.5.
Setting your prompt to %W, and then setting the date to after 1/1/2000 gives
incorrect output. eg:
Sun Microsystems Inc. SunOS 5.6 Generic August 1997
[1] bousfipd@y2ktest1.y2k-sol:/ % sudo date 123123591999
Password:
Friday December 31 23:59:00 WST 1999
[2] bousfipd@y2ktest1.y2k-sol:/ % date
Friday December 31 23:59:03 WST 1999
[3] bousfipd@y2ktest1.y2k-sol:/ % export prompt=%W
12/31/99date
Friday December 31 23:59:12 WST 1999
12/31/99date
Saturday January 1 00:00:04 WST 2000
01/01/:0
The century is display as :0 not 00!
Thankyou for your time.
peter bousfield
next reply other threads:[~1998-12-30 7:05 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-12-30 6:59 Bousfield Peter [this message]
1998-12-30 15:57 ` Goran Larsson
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=B0001133321@bell04.its.wmc.com.au \
--to=peter.bousfield@wmc.com.au \
--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).