I've searched around a lot for an answer to this, but couldn't track
anything down.  Basically, the problem occurs when you use
<f:convertDateTime type="date" />.  In my case I only care about the date
and not time as I'm using the input for birthdates, holidays, etc.  Now in
accordance with the specs the GMT time zone is applied to the date since I
haven't supplied one, so it ends up offseting each date by one day.  I'm not
sure if this is desired behaviour or not.  In my case it is certainly not. 
Canada Day is July 1st regardless of what time zone one is in, but gets
saved as Jun 30th.

I can't think of a case off the top of my head where this might be desired
functionality, but that doesn't mean there isn't!  If anyone can give me an
explanation I'd appreciate it.  In the meantime I'll try out
s:convertDateTime.
-- 
View this message in context: 
http://www.nabble.com/Problem-with-convertDateTime--tf2018592.html#a5550376
Sent from the My Faces - Dev forum at Nabble.com.

Reply via email to