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.
: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:
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