On Wed, Sep 01, 1999 at 01:33:39PM -0400, John L. Allen wrote:
Can we please get rid of the useless day range check in Time::Local?
Pleeease? I recall this being argued before.
Indeed, I argued it before. But I proposed something slightly more
radical: get rid of *all* range checking. Checking the range of
each arguement is orthogonal to calculating a GMT and should be a
BTW, didn't Mike Stok or someone have an alternate Time::Local
implementation that was less buggy than the current implementation?
$ perl -MTime::Local -e 'print scalar localtime timelocal 0,0,0,280,0,99'
Day '280' out of range 1..31 at -e line 1
It is quite convenient to be able to use timelocal to convert from "julian"
YYDDD format to others.
Yep, that's what I use it for.
The warning serves no purpose anyway, since the following is not caught