Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

What is the best way to go about adding support for the MET time zone to DateTime::TimeZone?

:/usr/share/zoneinfo$ re.pl $ use DateTime::TimeZone; $ DateTime::TimeZone->new(name => "EST5EDT"); $DateTime_TimeZone_EST5EDT1 = DateTime::TimeZone::EST5EDT=HASH(0x8ffd9 +e0); # this works $ DateTime::TimeZone->new(name => "MET"); Runtime error: Invalid offset: MET # this does not

Replies are listed 'Best First'.
Re: time zones in DateTime::TimeZone
by moritz (Cardinal) on Jul 23, 2008 at 15:56 UTC
      That works nicely. Thank you.