On Thu, 2 Apr 2009, Olivier Mengué wrote:

2009/4/1 Gabor Szabo <szab...@gmail.com>

Hi,

while installing Smolder I got a DateTime related error.
Michael Peters narrowed it down to the following call:

perl -MDateTime -le 'print DateTime->now(time_zone => q(local));'

which dies with the error:

Cannot determine local time zone


I've got the same kind of message today on an HP-UX system.
I've onened two bugs :
http://rt.cpan.org/Ticket/Display.html?id=44721
http://rt.cpan.org/Ticket/Display.html?id=44724
I've submitted a test and a fix for the second one. Let's hope it get some
attention.

As the OS is different the fix will not apply to your problem.

No, it wouldn't apply even on the same OS. Gabor's problem was that his local system had no time zone set at all, so of course DT::TZ couldn't figure it out!

Your problems are entirely different. One is that DT::TZ doesn't support your wacky local time zone (and probably never will). The other is that you can't easily add support for a home-grown local tz determination module, which is a real problem.


-dave

/*============================================================
http://VegGuide.org               http://blog.urth.org
Your guide to all that's veg      House Absolute(ly Pointless)
============================================================*/

Reply via email to