Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=Nonecreated_at=<Date2022-01-30.15:14:48.384>labels= ['type-bug', 'tests', '3.9', '3.10', '3.11']
title='datetime and time tests use non-portable "%4Y" format'updated_at=<Date2022-03-15.09:41:15.557>user='https://github.com/tiran'
Glibc provides some extensions for conversion specifications.
(These extensions are not specified in POSIX.1-2001, but a few
other systems provide similar features.) Between the '%'
character and the conversion specifier character, an optional
flag and field width may be specified.
Python 3.11.0a4+ (heads/main-dirty:b1a3446, Jan 25 2022, 10:19:07) [Clang 14.0.0 (https://github.com/llvm/llvm-project f142c45f1e494f8dbdcc1bcf1412 on emscripten
Type "help", "copyright", "credits" or "license" for more information.
>>> import datetime
>>> datetime.date(42, 1, 1).strftime("%4Y")
'%4Y'
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: