[New-bugs-announce] [issue30802] datetime.datetime.strptime('200722', '%Y%U')
winton Wang
report at bugs.python.org
Thu Jun 29 04:58:08 EDT 2017
New submission from winton Wang:
datetime stiptime error according to "%U" format.
Python version: 3.4.3, 2.7.13 ,3.6.0, 3.5.2
from datetime import datetime
input:
datetime.strptime('201726', '%Y%U')
output:
datetime.datetime(2007, 1, 1, 0, 0)
----------
components: Library (Lib)
messages: 297265
nosy: winton
priority: normal
severity: normal
status: open
title: datetime.datetime.strptime('200722', '%Y%U')
type: behavior
versions: Python 2.7, Python 3.3, Python 3.4, Python 3.5, Python 3.6
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue30802>
_______________________________________
More information about the New-bugs-announce
mailing list