New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Time::Local should not croak on "out-of-range" days #464
Comments
From allen@grumman.com $ perl -MTime::Local -e 'print scalar localtime timelocal 0,0,0,280,0,99' It is quite convenient to be able to use timelocal to convert from "julian" The warning serves no purpose anyway, since the following is not caught $ perl -MTime::Local -e 'print scalar localtime timelocal 0,0,0,31,2,99' Ie, there is no 31st day in February. Appended is the trivial patch against _60 in case the pumpking John. $ diff -c Local.pm.orig Local.pm |
From [Unknown Contact. See original ticket]On Wed, 1 Sep 1999, I, John L. Allen wrote:
And this should have been
John. |
From [Unknown Contact. See original ticket]On Wed, Sep 01, 1999 at 01:33:39PM -0400, John L. Allen wrote:
Indeed, I argued it before. But I proposed something slightly more BTW, didn't Mike Stok or someone have an alternate Time::Local
Yep, that's what I use it for.
you mean perl -MTime::Local -e 'print scalar localtime timelocal 0,0,0,31,1,99' (February is month number 1) -Scott |
Migrated from rt.perl.org#1305 (status was 'resolved')
Searchable as RT1305$
The text was updated successfully, but these errors were encountered: