perl Time::Format module's $time returns negative milliseconds
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libtime-format-perl (Debian) |
Fix Released
|
Unknown
|
|||
libtime-format-perl (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I'm using Linux Mint 17.
perl -version reports:
This is perl 5, version 18, subversion 2 (v5.18.2) built for i686-linux-
dpkg-query -l perl:
ii perl 5.18.2-2ubuntu1 i386 Larry Wall's Practical Extraction and Report Language
dpkg-query -l libtime-
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{"
which will produce something like:
20150117.
I found this perlmonks link from 2009 which addresses the bug:
http://
Which references this bug report:
https:/
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?
Related branches
affects: | linuxmint → libtime-format-perl (Ubuntu) |
Changed in libtime-format-perl (Debian): | |
status: | Unknown → Confirmed |
Changed in libtime-format-perl (Debian): | |
status: | Confirmed → Fix Released |
On Tue, 27 Jan 2015 13:31:54 -0000, Launchpad Bug Tracker wrote:
> I'm using Linux Mint 17. format- perl: yyyymmdd. hhmmss. mmm"}' 160824. -617
>
> dpkg-query -l libtime-
> 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{"
>
> which will produce something like:
> 20150117.
Confirmed on Debian jessie, same version of libtime- format- perl:
# amd64 chroot: yyyymmdd. hhmmss. mmm"}' 181509. -358
% perl -E 'use Time::Format qw(%time %strftime); say $time{"
20150127.
# i386 chroot: yyyymmdd. hhmmss. mmm"}' 181746. -405
% perl -E 'use Time::Format qw(%time %strftime); say $time{"
20150127.
> I found this perlmonks link from 2009 which addresses the bug: www.perlmonks. org/?node_ id=750652 /rt.cpan. org/Public/ Bug/Display. html?id= 44167
> http://
> Which references this bug report:
> https:/
> 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
-- info.comodo. priv.at/ - OpenPGP key 0xBB3A68018649AA06 www.debian. org/
.''`. Homepage: http://
: :' : Debian GNU/Linux user, admin, and developer - http://
`. `' Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
`- NP: DKP: Die Internationale
NP: Elton John: The One