Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    DateTimeItem, GWT4.0d

    Dear Support and Forum Member,

    since a few hour I try to display the Date in an DateTimeItem correctly.

    I want to set the Timezone what I could get.

    How can I set the timezone in an DateTimeItem ?

    thx!

    ps: the setInputTransformer and set DateFormatter I have tried, I was not able to do it with these methodes

    #2
    solved

    for all listeners, this is how the problem can be solved:

    by setting the following once somewhere at the initialization, the DateTimeItem will show the correct Value according the server side (e.g. ) timezone

    Code:
    DateUtil.setDefaultDisplayTimezone("+04:00");
    DateUtil.setAdjustForDST(false);
    of course you can generate the offset dynamically on the server and send it to the client where the timezone is loaded that according the server config.
    Last edited by swman; 26 Jun 2013, 21:41. Reason: fix

    Comment

    Working...
    X