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

Domain.Data: Specifiy DateTime properties as DateTimeKind.Utc #484

Closed
HeyJoel opened this issue Jan 27, 2022 · 1 comment
Closed

Domain.Data: Specifiy DateTime properties as DateTimeKind.Utc #484

HeyJoel opened this issue Jan 27, 2022 · 1 comment

Comments

@HeyJoel
Copy link
Member

HeyJoel commented Jan 27, 2022

Cofoundry stored DateTimes as UTC in the datbaase, but these DateTime types are materialized by EF as DateTimeKind.Unspecified. In EF Core 3.1 we can now use a converter to specify these as UTC.

@HeyJoel HeyJoel added this to the 0.10 milestone Jan 27, 2022
HeyJoel added a commit that referenced this issue Jan 27, 2022
…d.Utc

- Tidied up the EF data model files
@HeyJoel
Copy link
Member Author

HeyJoel commented Jan 27, 2022

Fixed, released in v0.10

@HeyJoel HeyJoel closed this as completed Jan 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant