Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!iuvax!rutgers!mit-eddie!killer!vaxnix!sneaky!gordon From: gordon@sneaky.TANDY.COM (Gordon Burditt) Newsgroups: comp.sources.bugs Subject: Re: zoo timezone bug fix Message-ID: <7790@sneaky.TANDY.COM> Date: 23 Feb 89 06:44:53 GMT References: <5808@bsu-cs.UUCP> Reply-To: gordon@sneaky.UUCP (Gordon Burditt) Organization: Gordon Burditt Lines: 25 >I was sent the following bug fix for the zoo timezone bug. It changes >the timezone field to a signed quantity. I have not tested it. ... >This fix should be needed only if you are t hours east of GMT, such >that 0 < t < 12, and if GETTZ is defined at compilation time. Thanks ^^^^^^^^^^ >to Thomas P.S. Olesen for this. A minor nit here: the valid range of timezone offsets east of GMT is minus twelve hours to plus thirteen hours, inclusive. In UNIX and ZOO terms, that's minus thirteen to plus twelve hours WEST of GMT. The timezone offsets minus twelve and plus twelve are not the same, and neither are the minus thirteen and plus eleven timezones. Why is there a minus thirteen zone? There are quite a few politically-inspired deviations in the International Date Line, especially around Siberia and Pacific islands south of it. Some countries didn't like the idea of having such a large time jump between parts of the same country. I forget exactly where, but there really is land in the minus thirteen zone. The minus twelve and plus twelve zones would exist even if the International Date Line were a straight line. They ARE different. Gordon L. Burditt ...!texbell!sneaky!gordon