Make datetime conversion to client timezone in reactive apps optional
1821
Views
1
Comments
New
Frontend (App Interfaces)

The default behaviour of datetime variables in Reactive apps is to convert from UTC to local time. This is a great in a lot of use cases, but hard to work with if a user want to see data in a different timezone.

In this forum question, some 'hacks' are proposed:

  • Use datetimes as text
  • Compensate at server side for the difference in client timezone

The prefered solution is to let developers set the config for this automatic conversion. The default behaviour to convert is good, but make an option to overwrite the default behaviour.

Changed the category to
Frontend

Yes, please create a setting in Service Center/Lifetime/ODC (whatever server tool we have at the moment for configuration). This setting would be activated as default, but we could deactivate it.