Subject: | "Cannot determine time zone" on FreeBSD |
$ 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 root@eschaton.local:/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.
Subject: | localtime |
Message body not shown because it is not plain text.