[hibernate-issues] [Hibernate-JIRA] Created: (ANN-543) Bug in both @Past and @Future validating Strings

Klaus Friedel (JIRA) noreply at atlassian.com
Thu Jan 25 05:12:19 EST 2007


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


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.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira




More information about the hibernate-issues mailing list