Re: Storing Olson abbreviation in DateTime::TimeZone::OffsetOnly

[email protected] (Evan Carroll)
Newsgroups perl.datetime
Message-ID <[email protected]>
> If you want to store a conventional initialism, then the timezone you're
> interested in is more than just an offset.  DT:TZ:OffsetOnly is for
> when you Only want the Offset.  A more appropriate way to do what you
> want would be a SysV-style timezone string "CST3".  This represents
> a timezone that consists of a fixed offset plus an abbreviation.
> Try DateTime::TimeZone::SystemV->new("CST3").

I don't think this will work for my needs: my offsets aren't in the
same format. And, some of the abbreviations are less than 3 letters.
They abbr/offset database comes from Olson::Abbreviations.
http://cpansearch.perl.org/src/ECARROLL/Olson-Abbreviations-0.02/lib/Olson/Abbreviations.pm

-- 
Evan Carroll
System Lord of the Internets
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.