-
Notifications
You must be signed in to change notification settings - Fork 240
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
Timezone conversions #380
Timezone conversions #380
Conversation
Added: SimplerSoftware.EntityFrameworkCore.SqlServer.NodaTime Added: Enabled the .UseNodaTime option in the DbContextOptionsBuilder
Working on ToLocal on the Logs.razor
@Bram1903 |
Technically we don't have to convert it back to local time in order for the library to convert it to the users timezone based on their browser information. As long as the library knows it's dealing with UTC it's fine, isn't it? The only reason it didn't work at first was because the library didn't know it was dealing with an UTC DateTime, which is why I specified that the given DateTime was of the kind UTC. |
@Bram1903 |
I'm not certain if we finished moving everything from |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
I will write the PR documentation later, as this is still a draft. I still need to go through the whole project for actually making sure that all the times are in UTC, but this PR allows us to both work on this PR.