Changes between Version 4 and Version 5 of Ticket #32727
- Timestamp:
- May 7, 2021, 8:34:17 PM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #32727 – Description
v4 v5 20 20 Django's `django.utils.dateparse.parse_datetime` does not parse this correctly and returns `None`, 21 21 22 However, `python-dateutil` parses it correctly. The difference is that Django uses a very (brittle)to parse ISO-8601 datetime strings, and python-dateutil does not.22 However, `python-dateutil` parses it correctly. The difference is that Django uses a (brittle) regex to parse ISO-8601 datetime strings, and python-dateutil does not. 23 23 24 24 https://github.com/dateutil/dateutil/blob/master/dateutil/parser/isoparser.py