We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6bc3e83 commit 51cfa56Copy full SHA for 51cfa56
Lib/_strptime.py
@@ -301,8 +301,6 @@ def __init__(self, locale_time=None):
301
'V': r"(?P<V>5[0-3]|0[1-9]|[1-4]\d|\d)",
302
# W is set below by using 'U'
303
'y': r"(?P<y>\d\d)",
304
- #XXX: Does 'Y' need to worry about having less or more than
305
- # 4 digits?
306
'Y': r"(?P<Y>\d\d\d\d)",
307
'z': r"(?P<z>[+-]\d\d:?[0-5]\d(:?[0-5]\d(\.\d{1,6})?)?|(?-i:Z))",
308
'A': self.__seqToRE(self.locale_time.f_weekday, 'A'),
0 commit comments