bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: date timezone question


From: Paul Eggert
Subject: Re: date timezone question
Date: Tue, 25 May 2004 15:25:05 -0700
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)

On 2004-03-31, address@hidden writes:

> Q1. Why is there a difference in the parsing of $TZ
>      and --date ... timezone ?

TZ is intended to be an unambigous specification of the time zone and
daylight saving time rules.  The timezone in the --date argument is
just a UTC offset.  The latter is a small part of the former.

> Q2. Why is a warning not printed when an invalid $TZ is set?

It's the tradition.  Not a good answer, I realize, but at the C level,
it's hard to tell whether TZ is valid.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]