Zefram wrote:
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?

DateTime allows for a one-second precision in the offset, so while LMT passes a floating number of seconds, DateTime will only use a whole number of seconds. Fix that and LMT will be work with it :)

Cheers!
Rick Measham

Reply via email to