So I ended up grabbing the client timezone:
private String getClientTimezone() {
Date now = new Date();
String timezone = DateTimeFormat.getFormat("ZZZZ").format(now);
return timezone;
}
and pass it to my action and on the server side
Calendar cal = Calendar.getInstance(TimeZone.getTimeZone(timezone));
to convert the GMT time to the client timezone.
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.