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:
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
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();
}
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
Comment