Hi all,

since I replaced myfaces-all.jar from 1.1.0 with 1.1.1rc3, I noticed a strange problem with JSF and date fields: every date printed with jsf tag is printed as day *before* .
if I have a date in the bean:

Date d = new java.util.date(2005, 02, 01)

and I write in page:

<% out.print(bean.d); %>

I obtain Tue 01 Feb 2005, 00:00:00 CEST

If I use

<h:outputText value="#{bean.d}" />

I obtain 31-jan-05

and the same result with every JSF tag ?

same problem with times. every time is represented as the hour before; 12.00 instead of 13.00 .

Anyone has noticed this behaviour ?
any suggestion ?

thanks,
--
Francesco Consumi
Ufficio Sistemi informativi
Istituto degli Innocenti
Piazza SS.Annunziata, 12
50122 Firenze
consumi at istitutodeglinnocenti.it
Tel. +39 055 2037320
ICQ# 12516133


Reply via email to