[Po4a-commits] r2720 - /trunk/lib/Locale/Po4a/Po.pm
barbier at users.alioth.debian.org
barbier at users.alioth.debian.org
Thu May 16 21:17:46 UTC 2013
Author: barbier
Date: Thu May 16 21:17:46 2013
New Revision: 2720
URL: http://svn.debian.org/wsvn/po4a/?sc=1&rev=2720
Log:
Fix DST in POT-Creation-Date
Patch provided by Ineiev from GNU, thanks!
Modified:
trunk/lib/Locale/Po4a/Po.pm
Modified: trunk/lib/Locale/Po4a/Po.pm
URL: http://svn.debian.org/wsvn/po4a/trunk/lib/Locale/Po4a/Po.pm?rev=2720&op=diff
==============================================================================
--- trunk/lib/Locale/Po4a/Po.pm (original)
+++ trunk/lib/Locale/Po4a/Po.pm Thu May 16 21:17:46 2013
@@ -164,8 +164,7 @@
$diff = floor(timelocal(@l)/60 +0.5);
$diff -= floor(timelocal(@g)/60 +0.5);
- my $h = floor($diff / 60) + $l[8]; # $l[8] indicates if we are currently
- # in a daylight saving time zone
+ my $h = floor($diff / 60);
my $m = $diff%60;
return sprintf "%+03d%02d\n", $h, $m;
More information about the Po4a-commits
mailing list