Mail Archives: djgpp/2000/04/12/17:33:24
Larry Olin Horn wrote:
>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.
I've just tried using cst6cdt and I do get the correct things:
tm_isdst = 1 (** should be 1 **)
__tm_zone = CDT (** should be CDT **)
__tm_gmtoff = -18000 (** should be -18000 **)
I'm using DJGPP 2.03, but the my zoneinfo files are from 2.02.
I don't know how to explain this (unless the cst6cdt file in 2.03 is corrupt),
but maybe it will help convince Eli that something really is going wrong
somewhere.
To help deduce the cause of the problem why not try a few more tests, e.g.:
What do you get if you set TZ=israel like Eli (strangely, I get
tm_isdst = 1, __tm_zone = IDT, __tm_gmtoff = 10800).
What do you get if you set TZ=gb like me (you should get
tm_isdst = 1, __tm_zone = BST, __tm_gmtoff = 3600).
This should make it clear whether you simply have a duff cst6cdt file, or
whether it's a more general problem.
S.
- Raw text -