Bug#776406: [Pkg-perl-maintainers] [Bug 1412071] [NEW] perl Time::Format module's $time returns negative milliseconds

gregor herrmann gregoa at debian.org
Tue Jan 27 18:24:30 UTC 2015


Package: libtime-format-perl
Version: 1.11-1
Forwarded: https://rt.cpan.org/Public/Bug/Display.html?id=44167

On Tue, 27 Jan 2015 13:31:54 -0000, Launchpad Bug Tracker wrote:

> I'm using Linux Mint 17.
> 
> dpkg-query -l libtime-format-perl:
> ii  libtime-format-perl                              1.11-1                        all                           module for easy date/time formatting
> 
> You can duplicate the problem by running:
> perl -e 'use Time::Format qw(%time %strftime); print $time{"yyyymmdd.hhmmss.mmm"}'
> 
> which will produce something like:
> 20150117.160824.-617

Confirmed on Debian jessie, same version of libtime-format-perl:

# amd64 chroot:
% perl -E 'use Time::Format qw(%time %strftime); say $time{"yyyymmdd.hhmmss.mmm"}'
20150127.181509.-358

# i386 chroot:
% perl -E 'use Time::Format qw(%time %strftime); say $time{"yyyymmdd.hhmmss.mmm"}'
20150127.181746.-405

> I found this perlmonks link from 2009 which addresses the bug:
> http://www.perlmonks.org/?node_id=750652
> Which references this bug report:
> https://rt.cpan.org/Public/Bug/Display.html?id=44167
> And that bug report says it is fixed in version 1.12

Thanks.
 
> For the record, the patch does seem to fix the bug (for me).  But March
> of 2009 was a *long* time ago (almost 6 years) -- is this bug going to
> be patched for the 1.11 version, or are there any plans to update to
> 1.12?

1.12 is in our [0] git repo but not uploaded; according to our notes,
there were problems with some tests ...

Not sure if this bug (which doesn't seem to have affected anyone in Debian or Ubuntu
in ages) warrants an upload to Debian during the freeze; in any case,
I'm submitting it the Debian BTS now.


Cheers,
gregor, Debian Perl Group

-- 
 .''`.  Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer  -  http://www.debian.org/
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   NP: DKP: Die Internationale
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: Digital Signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20150127/e157a3df/attachment-0001.sig>


More information about the pkg-perl-maintainers mailing list