NEW3.01.05 · Released 27 August 2018
NEWfinPOWER Connect
Released in
3.01.05
27 August 2018
- Opened21 Aug
- Closed23 Aug
- Released27 Aug
Article 15446
Job J021222
HTML Widgets; New functions to format dates and times displaying UTC values
When using widget.FormatDateForGrid, the UTC values are shown since our guidelines are to always use UTC and display the UTC values to avoid time zone issues.
The widget.UI.DateBox control also displays UTC values.
However, widget.FormatDate and widget.FormatDateTime showed the local values; not the UTC values. This could lead to discrepencies when formatting text for display as opposed to letting the controls (DateBox and Grid) handle the formatting.
The following functions have been added to tidy this area up:
- FormatUtcDate
- FormatUtcDateTime