[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
PDT timezone bug in GNU coreutils "date" v6.9
From: |
gmane |
Subject: |
PDT timezone bug in GNU coreutils "date" v6.9 |
Date: |
Tue, 15 Jan 2008 10:44:39 -0800 |
To whom it may concern:
I believe I have identified a bug in the GNU coreutils "date"
utility when handling the PDT timezone.
I'm running Fedora 8 kernel 2.6.23.9-85.fc8, and the command "date -
-version" reports: date (GNU coreutils) 6.9
When using the "-d" option to display the specified time (vs now),
this version of the date command apparently does not recognize
"PDT" as a valid timezone. For example:
$ date -d "Tue Jan 14 08:25:26 EST 2008" +%s
1200317126
$ date -d "Tue Jan 14 08:25:26 EDT 2008" +%s
1200313526
$ date -d"Tue Jan 14 08:25:26 PST 2008" +%s
1200327926
$ date -d"Tue Jan 14 08:25:26 PDT 2008" +%s
date: invalid date `Tue Jan 14 08:25:26 PDT 2008'
Note that EST, EDT and PST work fine, however, PDT is listed as
invalid.
Note that I have tested this same command with a much earlier
version of the "date" utility, and it worked fine when using PDT as
the timezone.
Thanks!
- PDT timezone bug in GNU coreutils "date" v6.9,
gmane <=
- Re: PDT timezone bug in GNU coreutils "date" v6.9, gmane, 2008/01/16
- Re: PDT timezone bug in GNU coreutils "date" v6.9, Paul Eggert, 2008/01/17
- Re: PDT timezone bug in GNU coreutils "date" v6.9, Bob Proulx, 2008/01/17
- Re: PDT timezone bug in GNU coreutils "date" v6.9, Bob Proulx, 2008/01/17
- Re: PDT timezone bug in GNU coreutils "date" v6.9, Philip Rowlands, 2008/01/17
- Re: PDT timezone bug in GNU coreutils "date" v6.9, Bob Proulx, 2008/01/17
- Re: PDT timezone bug in GNU coreutils "date" v6.9, Philip Rowlands, 2008/01/18
- Re: PDT timezone bug in GNU coreutils "date" v6.9, Bob Proulx, 2008/01/27