Skip Menu |
 

This queue is for tickets about the Time-Format CPAN distribution.

Report information
The Basics
Id: 82049
Status: open
Priority: 0/
Queue: Time-Format

People
Owner: Nobody in particular
Requestors: BrightonGuy [...] mjn-design-solutions.co.uk
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: (no value)
Fixed in: (no value)



Subject: Sometimes spurious output $time{'hh:mm:ss.mmm'}
Download (untitled) / with headers
text/plain 682b
Using Active Perl 5.16.1, on Windows XP sp3. Built and installed Time::Format from CPAN ('cpan install Time::Format'). When using $time{format}, milliseconds are translated, but sometimes get {on} appended. eg attached file produces some correct output, and some incorrect. Has anyone seen this, or can someone suggest where I should look? I am not familiar with _XS. Also tried on an arm base Linux unit (actually DLink DNS-325 with FunPlug), same result. perl -v This is perl 5, version 14, subversion 2 (v5.14.2) built for arm-linux- thread-multi-64ints: uname -a Linux dlink-00 2.6.22.18 #15 Wed May 25 15:23:11 CST 2011 armv5tejl GNU/Linux Many thanks Brighton Guy
Subject: test.pl
Download test.pl
text/x-perl 398b
#!/ package test; use strict; use warnings; use Time::HiRes qw(time); use Time::Format qw(%time); print $time{"pa\\s\\s: hh:mm:ss.mmm\n"}; print $time{"pa\\s\\s: hh:mm:ss.mmm te\\st\n"}; print $time{"fail: hh:mm:ss.mmm dd/mm/yyyy\n"}; print $time{"fail: hh:mm{in}:ss.mmm dd/mm{on}/yyyy\n"}; print $time{"pa\\s\\s: dd/mm/yyyy hh:mm:ss.mmm\n"}; print $time{"pa\\s\\s: yyyy/mm/dd hh:mm:ss.mmm\n"};
From: Brighton Guy
Download (untitled) / with headers
text/plain 841b
Forgot to add, Time::Format is v1.12 On Mon Dec 17 08:18:39 2012, http://brightonguy.myopenid.com/ wrote: Show quoted text
> Using Active Perl 5.16.1, on Windows XP sp3. Built and installed > Time::Format from CPAN ('cpan install Time::Format'). > > When using $time{format}, milliseconds are translated, but sometimes
get Show quoted text
> {on} appended. > eg attached file produces some correct output, and some incorrect. > > Has anyone seen this, or can someone suggest where I should look? I am > not familiar with _XS. > > Also tried on an arm base Linux unit (actually DLink DNS-325 with > FunPlug), same result. > > perl -v > This is perl 5, version 14, subversion 2 (v5.14.2) built for arm-
linux- Show quoted text
> thread-multi-64ints: > > uname -a > Linux dlink-00 2.6.22.18 #15 Wed May 25 15:23:11 CST 2011 armv5tejl > GNU/Linux > > Many thanks > > Brighton Guy


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.