On 08/03/2013 23:06, gusse...@gmail.com wrote:
  Need to display the timezone abbreviation for example this code produce:
Date date = 
getPanelForm().getRecentDate();*return*DateTimeFormat./getFormat/("MM'/'dd/yy
hh:mm z").format(date);

Displays as : 03/08/13 04:21 UTC-5
would like : 03/08/13 04:21 ET

According to JavaDoc <http://docs.oracle.com/javase/7/docs/api/java/text/SimpleDateFormat.html#timezone>, " Time zones are interpreted as text if they have names.", otherwise it displays a numerical value.
It looks like your ET time zone isn't part of the implementation.

A possible workaround is to search / replace the string after the formating...

--
Philippe Lhoste
--  (near) Paris -- France
--  http://Phi.Lho.free.fr
--  --  --  --  --  --  --  --  --  --  --  --  --  --

--
You received this message because you are subscribed to the Google Groups "Google 
Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to