Announcement

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

    DateItem shows previous day as default value

    Hi Isomorphic,

    I noticed that the DateItem will show the previous day for the default value if the client/browser is in Eastern time zone and the local time is between 00:00 and 03:59.

    You can reproduce the issue with the following code:


    Code:
    @Override
    
    public void onModuleLoad() {
    
    DateUtil.setDefaultDisplayTimezone("-04:00");
    
    
    
    
    DateItem dateItem = new DateItem();
    
    dateItem.setTitle("Date");
    
    
    
    
    DynamicForm form = new DynamicForm();
    
    form.setWidth(250);
    
    form.setItems(dateItem);
    
    form.draw();
    
    }
    I am using the following:
    SmartClient Version: v12.1p_2023-10-02/Pro Deployment (built 2023-10-02)
    Chrome Version 117.0.5938.150 (Official Build) (64-bit)
    Windows 10 Home

    Thanks

    #2
    Hi Isomorphic,

    Have you had a chance to look into this issue?

    Thanks.

    Comment


      #3
      We've made a change to address this issue, and the fix will be available as of tomorrow's builds dated Oct 21.

      Regards
      Isomorphic Software

      Comment

      Working...
      X