Problem with f:convertDateTime Component giving the day before the correct one ------------------------------------------------------------------------------
Key: MYFACES-1378 URL: http://issues.apache.org/jira/browse/MYFACES-1378 Project: MyFaces Core Issue Type: Bug Components: JSR-127 Affects Versions: 1.1.3 Environment: Windows XP Professional, JBoss 4.0.4.GA. Reporter: Kunaal Vaghela If you have a date field in a database and use a outputText with a convertDateTime component embedded in it it displays the date incorrectly - 1 day earlier than the correct date in the database. If i use the t:inputCalender to display the same date, it displays the correct date that is stored in the database. ------------------------- <h:outputLabel styleClass="outputLabel" for="review_date" value="#{msgs.review_date}"/> <h:outputText id="review_date" value="#{RisksBBB.entity.review_date}"> <f:convertDateTime/> </h:outputText> <h:message styleClass="message" for="review_date"/> <h:outputLabel styleClass="outputLabel" for="review_dated" value="#{msgs.review_date}"/> <t:inputDate popupCalendar="true" id="review_dated" value="#{RisksBBB.entity.review_date}"/> <h:message styleClass="message" for="review_dated"/> Gives 17-Aug-2006 from tthe outputText but 18-Aug-2006 in the calendar control. -- 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