You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "mohammed (JIRA)" <ji...@apache.org> on 2013/01/04 17:20:12 UTC
[jira] [Created] (VALIDATOR-314)
org.apache.commons.validator.DateValidator and format "ww/yyyy" for week
01/2013
mohammed created VALIDATOR-314:
----------------------------------
Summary: org.apache.commons.validator.DateValidator and format "ww/yyyy" for week 01/2013
Key: VALIDATOR-314
URL: https://issues.apache.org/jira/browse/VALIDATOR-314
Project: Commons Validator
Issue Type: Bug
Components: Routines
Affects Versions: 1.3.1 Release, 1.4.0 Release
Environment: org.apache.commons.validator.DateValidator
Reporter: mohammed
Priority: Minor
this code return false
===============================================================
weekStr = "01/2013";
validBool = (dateValidator.isValid(weekStr, "ww/yyyy", false));
================================================================
the value of validBool = false, only for the first week of 2013
because the first day of this week (01/2013) is the monday 31 December 2012
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira