[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: problems with GNU date and missing timezone handling on several debi
From: |
Paul Eggert |
Subject: |
Re: problems with GNU date and missing timezone handling on several debian systems |
Date: |
Tue, 12 Jul 2005 00:36:19 -0700 |
User-agent: |
Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux) |
"Joel N. Weber II" <address@hidden> writes:
> This might well be more of a glibc issue than a date issue, though;
> I'm not really sure.
Yes, that's correct. Perhaps you could file a glibc bug.
> I also find it rather confusing that date will in some circumstances
> print PDT as the timezone, leading me to suspect that PDT is a valid
> value for the TZ variable when it apparently actually isn't:
You can even do something like this if you really want to be
confusing:
$ date -u; TZ=UTC8 date; TZ=UTC-8 date
Tue Jul 12 07:35:26 UTC 2005
Mon Jul 11 23:35:26 UTC 2005
Tue Jul 12 15:35:26 UTC 2005
This behavior we won't change, since POSIX requires it and it's
longstanding tradition. Some people even rely on it, to backdate
their documents believe it or not.