Change by Sergey Bon. :
--
keywords: +patch, patch, patch
pull_requests: +11294, 11295, 11296
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issu
Change by Sergey Bon. :
--
keywords: +patch, patch
pull_requests: +11294, 11295
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issu
Change by Sergey Bon. :
--
keywords: +patch
pull_requests: +11294
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue30802>
___
___
Py
Sergey Bon. added the comment:
If %W and %U are allowed to be used without specifying the weekday by assuming
it to be the first day of the week, then the same rule should apply to %V (ISO
8601 week) for consistency.
--
___
Python tracker
<ht
Sergey Bon. added the comment:
Not following msg332388 would lead to this:
# Sunday of the week 53
>>> datetime.strptime ('2017 Sun 53', '%Y %a %U')
datetime.datetime(2017, 12, 31, 0, 0)
# First day of the week 53
# oops! assumed Monday is the first day of the
Sergey Bon. added the comment:
Documentation says:
%U - Week number of the year (Sunday as the first day of the week)
%W - Week number of the year (Monday as the first day of the week)
It wouldn't be intuitive if %U assumed Sunday when weekday provided and Monday
otherwise. There ar