Changes between Version 5 and Version 6 of Ticket #32727


Ignore:
Timestamp:
May 7, 2021, 8:35:01 PM (3 years ago)
Author:
Ben Wilber
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #32727 – Description

    v5 v6  
    1111
    1212
    13 Django's `django.utils.dateparse.parse_datetime` parses this correctly.
     13`django.utils.dateparse.parse_datetime` parses this correctly.
    1414
    1515This is also a valid ISO-8601 datetime string:
     
    18182012-04-23T10:20:30.400  -02
    1919
    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`,
    2121
    2222However, `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.
Back to Top