← Back to team overview

pkg-perl-maintainers team mailing list archive

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

 

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

NP: Elton John: The One

-- 
You received this bug notification because you are a member of Debian
Perl Group, which is subscribed to libtime-format-perl in Ubuntu.
https://bugs.launchpad.net/bugs/1412071

Title:
  perl Time::Format module's $time returns negative milliseconds

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libtime-format-perl/+bug/1412071/+subscriptions