myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <>
Subject [Myfaces Wiki] Update of "FAQ" by SimonKitching
Date Thu, 01 Dec 2005 04:38:23 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Myfaces Wiki" for change notification.

The following page has been changed by SimonKitching:

The comment on the change is:
tweaks to f:convertDateTime info

  timezone of the server.
  You can control the timezone used by the conversion by attaching an explicit converter:
+ {{{
+     <f:convertDateTime timeZone="Antarctica/South_Pole"  .../>
+ }}}
+ or
+ {{{
-   <f:convertDateTime timeZone="#{bean.timeZone}"  .../>
+     <f:convertDateTime timeZone="#{bean.timeZone}"  .../>
+ }}}
+ where #{bean.timeZone} returns either a string id, or a !TimeZone instance.
  Alternatively you register your own converter to override the standard converter, causing
your custom code
  to be applied by default to all date->string conversions.

View raw message