Bug#566013: [swaks] sends mails from a weird timezone
Niko Tyni
ntyni at debian.org
Mon Feb 1 07:02:23 UTC 2010
tag 566013 - patch
reassign 566013 swaks
thanks
On Wed, Jan 27, 2010 at 10:23:47PM +0200, Niko Tyni wrote:
> On Wed, Jan 27, 2010 at 10:24:08AM -0600, Gunnar Wolf wrote:
> > --- /usr/share/perl/5.10.1/Time/Local.pm 2009-11-21 13:30:05.000000000 -0600
> > +++ /tmp/Local.pm 2010-01-27 10:21:17.000000000 -0600
> > - return $loc_t;
> > + # Comparing two very-slightly-off readings of the clock yields a
> > + # difference of -0.027777 seconds. Timezones are integers, and
> > + # represent the number of seconds; round (don't truncate) the
> > + # result as values ending with '99' are not valid.
> > + return int($loc_t + 0.5);
> The zone handling code in timelocal() already does the right thing: it's
> calling localtime with an argument so it doesn't look at the current time.
> So should swaks.
> Please reassign back if you agree.
Gunnar, ping? Reassigning so as not to leave this stalled on the perl side.
--
Niko Tyni ntyni at debian.org
More information about the Perl-maintainers
mailing list