[issue19162] datetime.datetime.min.strftime('%Y') not working

2013-10-04 Thread R. David Murray
R. David Murray added the comment: Indeed, this is already fixed. This issue is a duplicate of issue 1777412. The bug will not be fixed in earlier versions for the reasons discussed in that issue. -- nosy: +r.david.murray resolution: -> duplicate stage: -> committed/rejected status

[issue19162] datetime.datetime.min.strftime('%Y') not working

2013-10-04 Thread tomasz.zaleski
tomasz.zaleski added the comment: works correctly on python3.3: Python 3.3.2 (default, Oct 4 2013, 12:21:07) [GCC 4.2.1 20070831 patched [FreeBSD]] on freebsd9 Type "help", "copyright", "credits" or "license" for more information. >>> import datetime >>> datetime.datetime.min.strftime('%Y') '000

[issue19162] datetime.datetime.min.strftime('%Y') not working

2013-10-04 Thread Filip Zyzniewski
New submission from Filip Zyzniewski: The datetime class provides a min datetime object which is not formattable: on Python 2: $ python Python 2.7.3 (default, Apr 10 2013, 05:13:16) [GCC 4.7.2] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import datetime