You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by "Jesse Alexander (KSFH 323)" <al...@credit-suisse.com> on 2008/01/04 21:07:10 UTC

RE: myfaces 1.2.1 Date shifted 8 hours

Hi
 
the date/time-shift depends also on the hosting JVM and the server-os...
Plus it might be possible that Sun already fixed something in that
area... I found the problem
there last summer.
What I would like to have is a config-option for a standard-timeZone for
the converter...
 
regards
Alexander


________________________________

	From: Joe Black [mailto:pelican5699@hotmail.com] 
	Sent: Saturday, December 29, 2007 4:57 AM
	To: MyFaces Discussion
	Subject: RE: myfaces 1.2.1 Date shifted 8 hours
	
	
	Hi,
	
	Thanks a lot. I followed your suggestion and add the timeZone
parameter and now it shows correctly using myfaces 1.2.1_07.
	
	However, just for your information, I am using the same code in
another parallel program using JSF RI and it shows the correct date
without adding timeZone parameter.
	
	Anyway, thanks a lot for pointing me in the correct direction.
	
	rgds,
	
	
	
	> Date: Fri, 28 Dec 2007 10:12:04 -0800
	> From: martin.ahrer@gmx.at
	> To: users@myfaces.apache.org
	> Subject: Re: myfaces 1.2.1 Date shifted 8 hours
	> 
	> 
	> See the FAQ at http://wiki.apache.org/myfaces/FAQ, SUN JSF RI
<1.2 has the
	> same issue as far as I know.
	> The f:convertDateTime tag supports a timezone attribut which
you can use to
	> set the timezone to be used by the converter!
	> 
	> Martin
	> 
	> 
	> -----
	> http://www.martinahrer.at/blog http://www.martinahrer.at/blog 
	> -- 
	> View this message in context:
http://www.nabble.com/myfaces-1.2.1-Date-shifted-8-hours-tp14499037p1452
9417.html
	> Sent from the MyFaces - Users mailing list archive at
Nabble.com.
	> 
	
	
________________________________

	Get your free suite of Windows Live services! Windows Live
<http://www.get.live.com/wl/all>