#Time Zone
1 messages · Page 1 of 1 (latest)
best practice is to persist dates in UTC timezone on database layer to keep data in sync
then after that, it's up to back or front developers to convert UTC dates to different timezones on the application layer
I would say that it depends on where your application is used (several tz?) and on your architecture... e.g. which db
No easy with JS in any way
But yeah, by default @jovial coyote advice is reasonable
Make sure your client send time zone data in the header else you can query geojson plugin to get timezone from IP, and write a interceptor that will change the time in UTC to that of non UTC if you have no control over frontend