[issue8026] strftime bug when timedelta is negative

2010-04-12 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8026 ___ ___ Python-bugs-list

[issue8026] strftime bug when timedelta is negative

2010-04-12 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net 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

[issue8026] strftime bug when timedelta is negative

2010-04-12 Thread Amaury Forgeot d'Arc
Changes by Amaury Forgeot d'Arc amaur...@gmail.com: -- resolution: - invalid status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8026 ___

[issue8026] strftime bug when timedelta is negative

2010-04-08 Thread Daniel Diniz
Daniel Diniz aja...@gmail.com 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