To be more clear, I have a date which is 2012-03-29 at 01:00:00 UTC, if I do setDate(date) on the datepicker and if the user is based in the US, the date selected on the calendar will be the 2012-03-28, because it uses their local time. I want the calendar to show 2012-03-29 wherever the user is.
On Wednesday, 28 March 2012 22:07:39 UTC+2, Thomas Lefort wrote: > > I need the datepicker to render the date in UTC and not the local > format. Is there any simple way to do so? > > -- 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/-/0A_WEwacv9sJ. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.