Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove fix for UTC time. Not postgres compatible #1476

Merged
merged 1 commit into from
Mar 20, 2024

Conversation

andchiind
Copy link
Contributor

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 #1442

@andchiind andchiind added the bug Something isn't working label Mar 20, 2024
@andchiind andchiind self-assigned this Mar 20, 2024
Copy link

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

Copy link
Contributor

@oysand oysand left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@andchiind andchiind merged commit 4f10f84 into equinor:main Mar 20, 2024
11 checks passed
@andchiind andchiind deleted the fix-time branch March 20, 2024 09:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants