[hibernate-issues] [Hibernate-JIRA] Updated: (HV-2) Bug in both @Past and @Future validating Strings

Emmanuel Bernard (JIRA) noreply at atlassian.com
Sat Feb 10 03:02:40 EST 2007


     [ http://opensource.atlassian.com/projects/hibernate/browse/HV-2?page=all ]

Emmanuel Bernard updated HV-2:
------------------------------

    Fix Version: FIRST
        Version: Bundle 3.2.1
                     (was: FIRST)
      Assign To: Emmanuel Bernard

> Bug in both @Past and @Future validating Strings
> ------------------------------------------------
>
>          Key: HV-2
>          URL: http://opensource.atlassian.com/projects/hibernate/browse/HV-2
>      Project: Hibernate Validator
>         Type: Bug

>   Components: validators
>     Versions: Bundle 3.2.1
>     Reporter: Klaus Friedel
>     Assignee: Emmanuel Bernard
>     Priority: Minor
>      Fix For: FIRST

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




More information about the hibernate-issues mailing list