This content has been marked as final.
Show 5 replies
-
1. Re: Datatable + date problem
ronanf May 25, 2010 2:09 PM (in response to ronanf)I should note this has been tested and occurs in 3.3.3 FINAL and 3.3.2 SR1.
-
-
3. Re: Datatable + date problem
ronanf May 25, 2010 6:49 PM (in response to nbelaevski)Hi Nick,
Do you believe this is a time-zone issue? My server resides inside the default GMT time-zone so I had discounted that idea. I tried the following but the same problem occurs:
<h:outputText id="o4" value="#{date}"> <f:convertDateTime timeZone="GMT"/> </h:outputText>
The alternative is to write a custom converter? -
4. Re: Datatable + date problem
nbelaevski May 26, 2010 5:37 AM (in response to ronanf)Before writing custom converter, I'd suggest to check what's wrong with the standard one. It should output date properly.
-
5. Re: Datatable + date problem
ronanf May 26, 2010 12:30 PM (in response to nbelaevski)Thanks for your input. It looks like it was a timezone problem and I had to link the above into a backing bean like so:
public TimeZone getTimezone() { return TimeZone.getDefault(); }