Mail Archives: djgpp/2002/05/21/06:17:57
On Tue, 21 May 2002, Alex Vinokur wrote:
> It seems that not 'all results for 1969 and 2106' are valid.
That's because your time zone is not GMT0, but something else. The range
of times that mktime can represent is defined in the GMT0 zone (a.k.a.
UTC time); for all other zones, mktime does the appropriate correction.
That's why the first valid time for your machine is in 1969, not January
1, 1970.
For the record: what is your timezone, as set on your DJGPP machine?
The headers of your message seem to indicate it's +0400, is that what you
have on the DJGPP machine?
> Is something wrong?
No. You just need to make sure your TZ environment variable is set to
your time zone. See section 22.20 of the DJGPP FAQ list for more
details.
Also make sure you have the latest upload of djtzn203.zip from SimTel:
the initial upload had a bug in the generated timezone files.
- Raw text -