[
http://opensource.atlassian.com/projects/hibernate/browse/ANN-543?page=all ]
Emmanuel Bernard updated ANN-543:
---------------------------------
Fix Version: 3.2.2
Bug in both @Past and @Future validating Strings
------------------------------------------------
Key: ANN-543
URL:
http://opensource.atlassian.com/projects/hibernate/browse/ANN-543
Project: Hibernate Annotations
Type: Bug
Components: validator
Versions: 3.2.1
Reporter: Klaus Friedel
Priority: Minor
Fix For: 3.2.2
Original Estimate: 10 minutes
Remaining: 10 minutes
Both PastValiadator and FutureValidator use DateFormat.getTimeInstance() to validate
Objects of type String.
As it doesn't make much sense to compare time values only, they should instead use
DateFormat.getDateInstance().
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira