myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tomasz Bandura (JIRA)" <myfaces-...@incubator.apache.org>
Subject [jira] Created: (MYFACES-209) hours in x:inputDate
Date Mon, 25 Apr 2005 07:06:24 GMT
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


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


Mime
View raw message