Got it. I considered that approach as well, but it seemed a bit more complicated. Where are you getting the JSON data to present to the client?
On Thursday, September 13, 2012 11:02:40 AM UTC-4, Andrei wrote: > > I am not using browser's time zone and its offset - it would not work, as > you correctly stated. I am using GWT's TimeZone object and its offset. I > build this TimeZone object using the time zone ID which a user specified in > his preferences. This requires me to pass the correct JSON string from a > server to the client, which is a drawback in my implementation (client-side > only) compared to yours (server-side adjustments). > > I am trying to think of a drawback in your implementation, but so far > nothing comes to mind :), apart from a minor inconvenience that you have to > reload data if a user changed his preference. > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/Mp6boM_q1KsJ. 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.
