[phobos] std.datetime fails on OSX
Jonathan M Davis
jmdavisProg at gmx.com
Sat Jan 15 18:00:53 PST 2011
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
More information about the phobos
mailing list