Changes between Version 5 and Version 6 of Ticket #32727
- Timestamp:
- May 7, 2021, 8:35:01 PM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #32727 – Description
v5 v6 11 11 12 12 13 Django's`django.utils.dateparse.parse_datetime` parses this correctly.13 `django.utils.dateparse.parse_datetime` parses this correctly. 14 14 15 15 This is also a valid ISO-8601 datetime string: … … 18 18 2012-04-23T10:20:30.400 -02 19 19 20 Django's`django.utils.dateparse.parse_datetime` does not parse this correctly and returns `None`,20 `django.utils.dateparse.parse_datetime` does not parse this correctly and returns `None`, 21 21 22 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.