From: Roach, Mark R. <mrroach@ci...> - 2004-02-03 22:19:48
It appears that the current time zone redirection support doesn't work
for time zones west of UTC. I got it to work by changing line 257 of
tzone = (mktime(gmtime(&t)) - mktime(localtime(&t))) / 60;
I think that should work for all time zones west of UTC, but probably
not for those East of UTC. I have an idea of how to make it work for all
time zones, but am not much of a low-level programmer.
What I figured out is that they use a strange (to me) byte order for the
time zone: For example Eastern time (+5) is 0x0000 012c and is sent by
To do negative numbers, such as Greenland (-3) = 0xffff ff4c you would
What I don't know is how to massage tzone into that format. Does anyone
know how to handle this?
Get latest updates about Open Source Projects, Conferences and News.