-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: datetime -> Aware for created/last_modified (#1155)
* refactor: datetime -> Aware for created/last_modified * chore: unused import * fix: add validator to convert to UTC * refactor: simplify validator to just run on everything * tests: additional tests for last_modified roundtrip * chore: docstring * tests: don't test local timezone object since you can't predict how it will coerce * fix: add field_serializer to guarantee format
- Loading branch information
Showing
2 changed files
with
63 additions
and
8 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