in reply to Year /^\d+$/ bug!
My personal opinion on the 'right thing' is that +1 month refers to the next month, so wrapping Feb 29th (non-leap year) to March 1st seems wrong. (I would have a differnt feeling for adding a month worth of days.) But truncating it down to Feb 28th also seems wrong. Perhaps an error code is the best result.
But in any case, let the author know. Sounds like they didn't come across that condition, so never checked for it. Feedback is important to keeping the quality of modules high.
=Blue
...you might be eaten by a grue...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Year /^\d+$/ bug!
by $code or die (Deacon) on Nov 30, 2000 at 00:59 UTC | |
by extremely (Priest) on Nov 30, 2000 at 04:42 UTC | |
by Blue (Hermit) on Nov 30, 2000 at 01:05 UTC | |
by $code or die (Deacon) on Nov 30, 2000 at 01:18 UTC |