You need to look at:
1. dataSourceField.format: this allows you to declare whatever date format you want, on a per-field basis
2. Time.setDefaultDisplayTimezone(): this allows you to force all timezone display to UTC, regardless of the user's locale
Announcement
Collapse
No announcement yet.
X
-
Timezone issues
Hi,
We’re running into a few issues with handling timezones in the Smartclient JS version and need some help with the following:- We'd like to customize date formatting in ListGrids. For example, one column should display dates as "YYYY-MM-DD HH:MM:SS" and another as "YYYY-MM-DD HH:MM".
- All dates in ListGrids should be displayed in UTC without timezones.
- The date filters in ListGrids should work with UTC time(we select/type UTC time and want to see UTC time selected).
- It should be possible to manually type input dates in the ListGrids date filters in the "YYYY-MM-DD HH:MM:SS" format.
P.S. Besides listgrids, dates should work normally with timezones.
Thanks!
Tags: None
Leave a comment: