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

Support DateTime<Utc> & DateTime<Local> #381

Closed
tyt2y3 opened this issue Dec 12, 2021 · 1 comment · Fixed by #489
Closed

Support DateTime<Utc> & DateTime<Local> #381

tyt2y3 opened this issue Dec 12, 2021 · 1 comment · Fixed by #489
Assignees
Milestone

Comments

@tyt2y3
Copy link
Member

tyt2y3 commented Dec 12, 2021

I think we should support DateTime<Utc> natively in SeaORM soon

Originally posted by @tyt2y3 in #344 (comment)

May be we can create a new type alias DateTimeUtc on chrono::DateTime<Utc>

@billy1624 billy1624 linked a pull request Jan 14, 2022 that will close this issue
@billy1624 billy1624 added this to the 0.6.x milestone Jan 25, 2022
@billy1624 billy1624 changed the title Support DateTime<Utc> Support DateTime<Utc> & DateTime<Local> Jan 25, 2022
@billy1624
Copy link
Member

We may also support DateTime<Local>. Then, we have full support over all three chrono::DateTime, namely DateTime<FixedOffset>, DateTime<Utc> and DateTime<Local>.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants