Author guziy.sasha
Recipients Mike Gleen, brett.cannon, docs@python, guziy.sasha, matrixise, miss-islington, p-ganssle, xtreak
Date 2021-05-14.19:50:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1621021835.35.0.0716186112131.issue34903@roundup.psfhosted.org>
In-reply-to
Content
This is a bit unfortunate for the formats without separators, that could give wrong results silently:

```
In [26]: datetime.strptime("2020010112", "%Y%m%d%H")
Out[26]: datetime.datetime(2020, 1, 1, 12, 0)

In [27]: datetime.strptime("2020010112", "%Y%m%d%H%M")
Out[27]: datetime.datetime(2020, 1, 1, 1, 2)
```
History
Date User Action Args
2021-05-14 19:50:35guziy.sashasetrecipients: + guziy.sasha, brett.cannon, docs@python, matrixise, p-ganssle, miss-islington, xtreak, Mike Gleen
2021-05-14 19:50:35guziy.sashasetmessageid: <1621021835.35.0.0716186112131.issue34903@roundup.psfhosted.org>
2021-05-14 19:50:35guziy.sashalinkissue34903 messages
2021-05-14 19:50:35guziy.sashacreate