← Back to team overview

pkg-perl-maintainers team mailing list archive

[Bug 1412071] [NEW] perl Time::Format module's $time returns negative milliseconds

 

You have been subscribed to a public bug:

I'm using Linux Mint 17.

perl -version reports:
This is perl 5, version 18, subversion 2 (v5.18.2) built for i686-linux-gnu-thread-multi-64int

dpkg-query -l perl:
ii  perl                                             5.18.2-2ubuntu1               i386                          Larry Wall's Practical Extraction and Report Language

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

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

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?

** Affects: libtime-format-perl (Ubuntu)
     Importance: Undecided
         Status: New

-- 
perl Time::Format module's $time returns negative milliseconds
https://bugs.launchpad.net/bugs/1412071
You received this bug notification because you are a member of Debian Perl Group, which is subscribed to libtime-format-perl in Ubuntu.