Feature: use ciso8601 to implement datetime validator
Open
enhancement
- Dominant language
- Python
- Stars
- 221
- Forks
- 12
- PR merge metrics
- No merged PRs in 30d
Description
Currently datetime.strptime method is not flexible, it only support vert strict format.
Use https://github.com/closeio/ciso8601 is better to parse iso8601 datetime format.
And add `tzaware` option, if `tzaware=True` then return datetime object with timezone info (UTC).
The change is compatible, no break changes.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.