Closed terapyon closed 5 years ago
I guess this is not a bug, because it matches the documentation, but it's for sure a surprising behaviour.
The first case ( 2019-11-9 10:00:00
) does not match ISO 8601 format, but the later cases do.
See also https://sixfeetup.com/blog/zope-datetime-careful-with-that-dash-eugene
I was mis understood parser format. I set "YYYY-MM-D", but this is wrong format.
Thank you for supporting @perrinjerome . I will close this issue.
You're welcome. For the records, https://github.com/zopefoundation/DateTime/issues/5 and https://github.com/zopefoundation/DateTime/issues/6 were similar issues.
I tried DateTime version 4.3 on Python 3.7. I found bug for DateTime parser.