[issue8026] strftime bug when timedelta is negative

2010-04-12 Thread Amaury Forgeot d'Arc
Changes by Amaury Forgeot d'Arc : -- resolution: -> invalid status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing

[issue8026] strftime bug when timedelta is negative

2010-04-12 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: This is not a bug. The issue boils down to the following: >>> from datetime import * >>> d = datetime(2010, 1, 1) >>> d, d.strftime("%G") (datetime.datetime(2010, 1, 1, 0, 0), '2009') and OP expects '2010' instead. Python behavior is correct as can be

[issue8026] strftime bug when timedelta is negative

2010-04-11 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue8026] strftime bug when timedelta is negative

2010-04-08 Thread Daniel Diniz
Daniel Diniz added the comment: Confirmed on trunk, needs a simpler repro :) -- components: +Library (Lib) -None nosy: +ajaksu2 priority: -> normal stage: -> test needed versions: +Python 2.6, Python 2.7 -Python 2.5 ___ Python tracker