Mail Archives: djgpp/2000/04/12/14:47:15
> > Wrong time zone (CST instead of CDT)
> No, it's not wrong.
I would call indicating the incorrect time, regardless of it's exact textual
expression, "wrong".
> The name printed by %Z is not documented to be
> identical to the TZ setting, or any part thereof. It is simply a
> string that identifies the time zone in some arbitrary way.
>
> For example, I have a setting "TZ=israel", but %Z prints "JST" (for
> "Jerusalem Standard Time").
So? The actual time zone is mis-identified, whether it's displayed as "CST",
"Central Standard Time", "-0600", or "UTC less six hours", because that's not
the time zone I'm in. The time indicated is off by an hour from actual local
time.
Perhaps you misplaced "arbitrary" and meant to say "identifies an arbitrary
time zone in some way".
Would you accept "Jerusalem Daylight Time" or "JDT" as correct, while
Jerusalem Standard Time was in effect, just because "%Z" isn't documented to
duplicate the text of TZ?
--
loh
- Raw text -