Wolfgang Grabow wrote:
Hi everybody,
I'm currently developing a JSF-based web application which
makes use of various faces tags. Actually I stummbled into
two strange issues which I was'nt able so solve by myself
and google. ;)
So here's what I experience:
1. Using t:dataTable
For some reason data of the datatype date is shifted
by -1 day. I.e. I retrieve 02.01.2009 from the DB,
the data table displays 01.01.2009
I debugged it and verified that the data in the
resultset is correct. So it seems that the dataTable
component glitches up the date.
there is a solution
http://www.coderanch.com/t/212267/JSF/java/MyFaces-Date-TimeZone-Issue
or better, somewhere in myfaces set your time zone.
Justinas