in reply to Year /^\d+$/ bug!
I think that approach makes the most sense. The programmer can choose whether or not to verify the dates before adding/subtracting months (if an error were returned, the programmer would be forced to check each date). And, I agree with Blue that adding one month should always return a date in the next month, and should not wrap over to the month after that.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Year /^\d+$/ bug!
by $code or die (Deacon) on Nov 30, 2000 at 01:03 UTC |