Tuesday, June 30, 2015

Re: DateBox and TimeZone

Hi Eric,

Even i am having the same issue. i want timezone to be set to "america/los_angeles". how did you resolve it using airthmetic could you please explain.
I tried the following scenario.
created new Date() in java code so it will take server timezone i.e "america/los_angeles" n tried setting the startdate from front end which user entered. it works when "america/los_angeles" date is same as "asia/kolkata" but gives one day back when date is different like "asia/kolkata" 01/07/2015 10:00:00 am IST and "america/los_angeles" is "30/06/2015 9:30:00 pm PDT"

On Wednesday, June 29, 2011 at 7:35:56 AM UTC+5:30, Eric wrote:
So apparently no one know and/or no one cares ;)

Or this post just slipped through the cracks.

I ended up solving my problem with date arithmetic on the server side,
but I'm still curious if this is possible.

Thanks,
Eric

--
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+unsubscribe@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.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment