Hi, [Please Cc me in any replies, since I am not on the list]
With DateTime::TimeZone 0.25.05, the following is likely to bork with "Cannot determine local time zone": perl -MDateTime::TimeZone -le '$t = DateTime::TimeZone->new(name => "local");' The reasons for that are: - if TZ environment variable is not set, TimeZone tries /etc/localtime, which is present on FreeBSD. Unfortunately, on FreeBSD this file is *NOT* a symlink to a timezone name, but a FreeBSD-specific binary file (see tzfile(5) for details); - even if TZ is set, it is very likely to contain something like "CET", which DateTime::TimeZone knows nothing about. Only if TZ is set to something like "Europe/Copenhagen", will DateTime::TimeZone work, and this is in my experience very uncommon among FreeBSD users. - the other methods DateTime::TimeZone tries are not applicable for FreeBSD. I have too little knowledge of the module inner workings to provide a patch, unfortunately. Cheers, %Anton. -- Civilization is a fractal patchwork of old and new and dangerously new. -- Vernor Vinge
