equinor / flotilla

Flotilla is the main point of access for operators to interact with multiple robots in a facility.
Eclipse Public License 2.0
16 stars 38 forks source link

Remove fix for UTC time. Not postgres compatible #1476

Closed andchiind closed 8 months ago

andchiind commented 8 months ago

This undoes the fix for UTC time in the frontend. Although the DateTime "kind" is set to unspecified when fetching from the database, we cannot set values in the database to any kind other than "UTC". When we send a datetime with kind "UTC" to the frontend however, it is interpreted as local time, which causes a time offset.

Reopens https://github.com/equinor/flotilla/issues/1442

github-actions[bot] commented 8 months ago

:bell: Changes in database folder detected :bell: Do these changes require adding new migrations? :thinking: In that case follow these steps. If you are uncertain, ask a database admin on the team :smile: