Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the DateTime-TimeZone CPAN distribution.

Report information
The Basics
Id: 44721
Status: resolved
Priority: 0/
Queue: DateTime-TimeZone

People
Owner: DROLSKY [...] cpan.org
Requestors: dolmen [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: (no value)
Fixed in: (no value)



Subject: ::Local fails with TZ=MET-1METDST
DateTime::TimeZone::Local fails to determine the timezone on HP-UX in France. $ perl -e 'print $^O,$/' hpux $ uname -a HP-UX I75I B.11.23 U ia64 3960621468 unlimited-user license $ echo $TZ MET-1METDST $ cat /etc/TIMEZONE TZ=MET-1METDST export TZ
Due to bug RT#44724 (for which I've provided a test and a fix), there is no workaround.
If you want to use this time zone, the DateTime::TimeZone::SystemV module can support it.
Le Dim. Avr. 05 11:42:48 2009, DROLSKY a écrit : Show quoted text
> If you want to use this time zone, the DateTime::TimeZone::SystemV > module can support it.
HP-UX does not uses exactly the SystemV style time zone definition. Instead, it has /usr/lib/tztab (see tztab(5)) which defines DST rules. I'm writing DateTime::TimeZone::Local::hpux.
DateTime::TimeZone::HPUX is now available on CPAN to provide support for timezone detection on HP-UX systems.