Subject: | RE: Getting a month out of range error. |
Date: | Thu, 19 Apr 2012 18:35:42 +0000 |
To: | "bug-Time-Format [...] rt.cpan.org" <bug-Time-Format [...] rt.cpan.org> |
From: | Todd Bezenek <Todd.Bezenek [...] quantum.com> |
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: 'bug-Time-Format@rt.cpan.org'
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 search.cpan.org.
I am seeing this error: (####################ERROR: is my addition)
Thu Apr 19 11:28:07 /common/adelaide_scripts/verify_installation
todd@galactus $ ./verify_installation.pl -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 $ ./verify_installation.pl -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 $ ./verify_installation.pl -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 | Todd.Bezenek@quantum.com<mailto:Todd.Bezenek@quantum.com>
----------------------------------------------------------------------
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.