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

Jurgen Lust updated MYFACES-1037:
---------------------------------

    Attachment: truncate.patch

This patch fixes this issue. The hour property that is set to 0 must be 
HOUR_OF_DAY instead of HOUR

> 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
>  Attachments: truncate.patch
>
> 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