All,
Has anyone experienced an issue wherein a date that is submitted with a datePattern of "DD-MON-YYYY" reverts to the previous day when modifying using a rich:calendar?
For example, I have a rich:calendar wherein a date is inputted on a JSF/Seam 2.0GA form. The date submits appropriately. When I then edit this date, the rich:calendar and inputText think the date is now one day prior to the previously entered date. This problem persists...so if I submit the form with the new date (-1) and repeat the process, I will lose one day each time.
I'm starting to suspect this has to do with the timezone of the time (since there is no time in the datePattern)? Has anyone experienced this before? It also happens during the
JSF validation lifecycle; so, for example, if another field on the forms has a validation error, the date input textbox will lose a day.
Thanks for your time.