Announcement

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

    Bug in Time.js - setDefaultDisplayTimeZone

    GWT 2.0.4
    SmartGWT 2.2

    All browsers, Windows XP SP3

    While in Development mode

    When calling
    Code:
    DateUtil.setDefaultDisplayTimezone("-07:00");
    The timezone offset is set to "+07:00", this can be confirmed by then calling Time.getDefaultDisplayTimezone() and it displays "+07:00".

    the bug is in Time.js in setDefaultDisplayTimezone. If you pass a String that starts with "-" the hours is multipled by -1 and you lose the "-".

    #2
    does anyone else see this behavior?

    Comment


      #3
      This should now be resolved (Fix will be present in the next nightly build)
      Please let us know if you continue to see the problem.

      Comment


        #4
        Thank you! Much appreciative.

        Comment

        Working...
        X