mktime problems when adjusting tm_isdst
Bradley White
bww at fore.com
Tue Oct 10 15:57:01 UTC 1995
I guess I would benefit from a succinct explanation of what
mktime(`TZ=Europe/Paris 1996-01-01 00:00:00 tm_isdst=1') is
supposed to mean. Paul's assertion ...
> Surely the result should be
> `1996-12-31 23:00:00 tm_isdst=0'.
..., while perhaps true, doesn't seem patently obvious.
If I took `TZ=Europe/Paris 1995-06-01 00:00:00 tm_isdst=1',
for example, and added six months, I think I would prefer to
see a `1996-01-01 00:00:00 tm_isdst=0' mktime() result.
In any case, a clear definition will tell us what to do with
the code.
Bradley
More information about the tz
mailing list