Yasir Qureshi wrote:I am very confused I have date input on a page and using <f:convertDateTime> for conversion on my bean one day is subtracting from the date user enters.
If user enters 02/01/2009, it is changed to 01/31/2009. Is this a bug with this tag. Comments/Suggestions/workaround?
Thanks.
you have to enter your timeZone to fix this: an example would be:
<h:outputText value="#{fax.date}" >
<f:convertDateTime timeZone="Turkey"/>
</h:outputText>
you can search for your timezone, and put it there.