-
-
Notifications
You must be signed in to change notification settings - Fork 25
Description
Migrated from rt.cpan.org #55029 (status was 'open')
Requestors:
Attachments:
From [email protected] (@schwern) on 2010-02-26 19:39:44:
$ perl -wle 'use DateTime; DateTime->now( time_zone => "local" )'
Cannot determine local time zone
$ uname -a
FreeBSD eschaton.local 7.2-STABLE FreeBSD 7.2-STABLE #0: Sat Nov 14
22:23:32 EST 2009 [email protected]:/usr/obj/usr/src/sys/ESCHATON
amd64
I'm also seeing it on FreeBSD 8.
http://www.cpantesters.org/cpan/report/6868995
Digging into the problem, the only DateTime::TimeZone::Local::Unix
method which is having any luck is /etc/localtime, the rest of the files
checked do not exist, but there are no files of the same size in
/usr/share/zoneinfo.
Attached is a copy of /etc/localtime from that system.
This is with 5.10.1 and DateTime::TimeZone 1.10.