Hi Damar, It's caused by different timezones.
Pls see this page: http://wiki.apache.org/myfaces/FAQ#Date Michael -----Original Message----- From: Damar Thapa [mailto:[email protected]] Sent: Samstag, 2. Januar 2010 09:49 To: MyFaces Discussion Subject: Re: <t:inputDate> value problem in tomahawk 1.1.9 On Sat, Jan 2, 2010 at 4:46 PM, Damar Thapa <[email protected]> wrote: > Hi, > Happy New Year 2010 to all. > > I just tested the following code: > > <t:inputDate id="bDate" type="date" value="#{user.bDate}" > popupCalendar="true"/> > > I am using Myfaces-1.2.8, facelets-1.1.15, and tomahawk-1.1.9. Everything > looks fine, but the value of the input date comes out to be a day earlier. > For example, if I choose "15 January 2010" in the calendar, it assigns "14 > January 2010" to "user.bDate". Same thing happens if I disable > popupCalendar, and type the date. > > Is this the bug, incompatibility issue, or I am missing something. > > Any pointers would be highly appreciated. > > With regards, > Damar > -- With regards, Damar

