Skip Menu |

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

Report information
The Basics
Id: 76707
Status: resolved
Worked: 3 hours (180 min)
Priority: 0/
Queue: Time-Format

Owner: eric.roode.cpan [...]
Requestors: Todd.Bezenek [...]

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

Subject: RE: Getting a month out of range error.
Date: Thu, 19 Apr 2012 18:35:42 +0000
To: "bug-Time-Format [...]" <bug-Time-Format [...]>
From: Todd Bezenek <Todd.Bezenek [...]>
Download (untitled) / with headers
text/plain 2.2k
This may be important. I am using the Time::HiRes module: use Time::HiRes qw/time sleep/; # Millisecond/nanosecond timer. use Time::Format qw/time_format/; # Formatted time output. my $time = time_format('Day Mon d yyyy hh:mm:ss tz', int(time()))." (".time().")"; This seems to fix it: my $time = time(); $time = time_format('Day Mon d yyyy hh:mm:ss tz', int($time))." (".$time.")"; -Todd From: Todd Bezenek Sent: Thursday, April 19, 2012 11:32 AM To: '' Subject: Getting a month out of range error. I just used "cpan install Time::Format" to download the formatting routines. I do not know how to get the version, but I am seeing 1.02 as the current version right now on I am seeing this error: (####################ERROR: is my addition) Thu Apr 19 11:28:07 /common/adelaide_scripts/verify_installation todd@galactus $ ./ -mounttype=vtl doing mounttype=vtl Cmd: echo $TEST Thu Apr 19 2012 11:28:07 PDT (1334860087.6253) not changed Thu Apr 19 11:28:07 /common/adelaide_scripts/verify_installation todd@galactus $ ./ -mounttype=vtl doing mounttype=vtl Cmd: echo $TEST ################ERROR: Month '85' out of range 0..11 at (eval 4) line 278 Thu Apr 19 11:28:08 /common/adelaide_scripts/verify_installation todd@galactus $ ./ -mounttype=vtl doing mounttype=vtl Cmd: echo $TEST Thu Apr 19 2012 11:28:08 PDT (1334860088.53695) not changed -Todd -- Todd Bezenek | DXi Performance Team | Quantum Corporation | (408)944-4406 |<> ---------------------------------------------------------------------- The information contained in this transmission may be confidential. Any disclosure, copying, or further distribution of confidential information is not permitted unless such privilege is explicitly granted in writing by Quantum. Quantum reserves the right to have electronic communications, including email and attachments, sent across its networks filtered through anti virus and spam software programs and retain such messages in order to comply with applicable data security and retention requirements. Quantum is not responsible for the proper and complete transmission of the substance of this communication or for any delay in its receipt.
Download (untitled) / with headers
text/plain 284b
Possibly fixed in v1.12. I could not reproduce this problem. I did alter one parsing regular expression, made it more restrictive, and that might resolve the problem. I'm going to mark this as resolved unless someone can show that it's still happening. Thanks for the report, Todd.

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

Please report any issues with to