Subject: | written times are off by $timezone, Bug #28532 |
Date: | Thu, 27 Mar 2008 09:39:58 +0100 |
To: | bug-Geo-Gpx [...] rt.cpan.org |
From: | bj [...] zuto.de (Rainer Clasen) |
Hello,
according to Date::Format, time2str() uses local time unless a timezone is
specified. But as the used formatstring implies UTC, the generated Time
strings are wrong.
I've fixed my locally installed version 0.18 by passing 'UTC' as extra
argument to time2str(). According to the source code browser on cpan,
v0.21 can be fixed the same way.
Rainer
--
KeyID=759975BD fingerprint=887A 4BE3 6AB7 EE3C 4AE0 B0E1 0556 E25A 7599 75BD