Sounds good, except that, if the JSF spec says to use GMT by default, shouldn't we keep that as the default, to be consistent with it and avoid confusion among people using different implementations?
Maybe we should add support for allowing the user to specify using the "server" time zone by setting an attribute value? - Brendan -----Original Message----- From: Travis Reeder [mailto:[EMAIL PROTECTED] Sent: Monday, October 31, 2005 1:43 PM To: MyFaces Discussion Subject: Re: curious problem with dates Hi all, I just checked in a sandbox converter for this that uses TimeZone.getDefault() for default timezone instead of GMT. Used same as core, but in the sandbox namespace. <s:convertDateTime .... /> Travis On 10/28/05, CONNER, BRENDAN (SBCSI) <[EMAIL PROTECTED]> wrote: > Man this mailing list is a life saver! I just got drawn into a severity > 1 production problem at work in which they said that some of the dates > from the database whose times were in the afternoon were being displayed > as date+1. I recalled that, earlier this week, someone had posted a > note about dates and time zones, so I went back and re-read these > postings. > > For now, our patch was to take Volker Weber's suggestion and add > timeZone="#{bean.timeZone}" to all of our <f:convertDateTime> tags so > the displayed dates match the dates actually represented by out data. > > So you all saved this guy from a late Friday night at work! > > - Brendan >

