Don't know if it helps but I found this: /etc/localtime local time zone file /usr/share/zoneinfo time zone directory /usr/share/zoneinfo/posixrules rules for POSIX-style TZ's /usr/share/zoneinfo/GMT for UTC leap seconds
If the file /usr/share/zoneinfo/GMT does not exist, UTC leap seconds are loaded from /usr/share/zoneinfo/posixrules. http://developer.apple.com/library/mac/#documentation/darwin/reference/manpages/man3/tzsetwall.3.html /Jacob Carlborg On 16 jan 2011, at 03:00, Jonathan M Davis wrote: > On Saturday 15 January 2011 17:52:10 Walter Bright wrote: >> The OSX file is >> >> /usr/share/zoneinfo/America/Los_Angeles >> >> not >> >> /usr/share/zoneinfo//right/America/Los_Angeles > > They both exist on Linux. The one in right/ has leap seconds whereas the > other > one doesn't. The test is using /usr/share/zoneinfo/right/America/Los_Angeles > to > test the leap second functionality. > > So, you're saying that the folks at Apple _did_ put the time zone files in > /usr/share/zoneinfo, but that they _didn't_ use all of the standard time zone > files and left out the directory /usr/share/zoneinfo/right? If that's the > case, > then I'll just make that test Linux-only. > > It's already a bit weird with Linux, since glibc ignores the leap seconds if > you > use the the right/ files. I made it so that if you selected a time zone file > with > leap seconds in it, then the leap seconds were used. But regardless, the OS > won't use them. So, if they're not present on OSX, it's probably because > they'd > never get used anyway. > > - Jonathan M Davis > _______________________________________________ > phobos mailing list > [email protected] > http://lists.puremagic.com/mailman/listinfo/phobos -- /Jacob Carlborg _______________________________________________ phobos mailing list [email protected] http://lists.puremagic.com/mailman/listinfo/phobos
