Rick Measham wrote: >my $riyadh_lmt = DateTime::TimeZone::LMT->new( > longitude => 46 + (43 / 60) + (27 / 3600) >);
How much error in time conversions is introduced by the floating point rounding? >A thought: it might be good to somehow include the ability to load other >TZ modules from a string. Eg. time_zone => "LMT/46d43m27s" would look >for LMT/46d43m27s.pm and failing that, drop back to looking for LMT.pm >and pass it's constructor the '46d43m27s'. I'd say don't do that with "/", which should be reserved for hierarchical naming. Maybe parens, though. But you don't need it for LMT if the generic offset capability is implemented: you can always do LMT as a "UT1+..." spec. -zefram