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! _______________________________________________ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils