DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13239>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13239

Validator Not accepting yyyy/MM





------- Additional Comments From [EMAIL PROTECTED]  2002-10-16 22:24 
-------
It is logically true that yyyy/MM is not a date.  However if someone wanted to
have a month and year entered as many may, then you would want to support this.

One questionable area of my patch is that it just checks to see that the year 
is the first field and that the date was not specified in the pattern to match.

The patch assumes 1 as the first of the month as the date and passes the 
year/month to the is valid date function.  This prevents invalid months 
effectively.  2002/20 etc...


I chose to fix this bug mainly as an exercise to familiarize myself with the 
work process of submitting a patch.

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to