[ 
http://issues.apache.org/jira/browse/MYFACES-1037?page=comments#action_12363020 
] 

Steven Cooke commented on MYFACES-1037:
---------------------------------------

Correction -- it is apparent only when *the input date* is in the afternoon

> ScheduleUtil.truncate does not truncate dates properly
> ------------------------------------------------------
>
>          Key: MYFACES-1037
>          URL: http://issues.apache.org/jira/browse/MYFACES-1037
>      Project: MyFaces
>         Type: Bug
>   Components: Sandbox
>  Environment: All
>     Reporter: Steven Cooke

>
> The Calendar.AM_PM field needs to be set for Calendar to compute the time 
> properly. 
> Fix:
>   Insert the following at line 383:
>       cal.set(Calendar.AM_PM, Calendar.AM);
> Note: this bug is only apparent in the afternoon

-- 
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

Reply via email to