You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Sylvain Vieujot (JIRA)" <my...@incubator.apache.org> on 2005/04/25 14:42:25 UTC

[jira] Closed: (MYFACES-209) hours in x:inputDate

     [ http://issues.apache.org/jira/browse/MYFACES-209?page=all ]
     
Sylvain Vieujot closed MYFACES-209:
-----------------------------------

     Resolution: Fixed
    Fix Version: Nightly Build

Patched.
Thanks for your contribution.

> hours in x:inputDate
> --------------------
>
>          Key: MYFACES-209
>          URL: http://issues.apache.org/jira/browse/MYFACES-209
>      Project: MyFaces
>         Type: Bug
>     Versions: 1.0.9 beta
>  Environment: win xp,jdk1.4.2_05
>     Reporter: Tomasz Bandura
>     Priority: Trivial
>      Fix For: Nightly Build

>
> If you put '12' in hours input field - after confirmation/update component sets it to '00'.
> The solution is: 
> In HttpInputDate.java, line 171, 
> change from:
>   SimpleDateFormat fullFormat = new SimpleDateFormat( "dd MM yyyy hh mm ss" );
> to:
>   SimpleDateFormat fullFormat = new SimpleDateFormat( "dd MM yyyy HH mm ss" );
> .and it solves this problem :))
> regards
> Tomasz

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira