forked from SeaQL/sea-orm
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support the use of chrono::DateTime<Utc> using the type alias DateTim… (
SeaQL#222) * Support the use of chrono::DateTime<Utc> using the type alias DateTimeUtc Add a test to ensure the DateTimeUtc is parsed and converted to SQL equivalent of TIMESTAMP * Ensure DateTime formatting is consistent * Implement `From` for Utc Move FixedOffset to its own `From` implementation Implement test for Utc * Return a DateTime<Utc> instead of String * Return timestamp as a String * Add example documentation for DateTimeUtc
- Loading branch information
1 parent
a85be76
commit 44aa114
Showing
6 changed files
with
117 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters