R. David Murray <rdmur...@bitdance.com> added the comment: Ah. datetime.timezone wouldn't have that issue since it doesn't deal with DST.
The 3.3 python version of datetime calls utcoffset in the same way as you describe, and it is supposed to have the same behavior as the C version, so probably 3.2/3.3 has the bug as well. (It does look like a bug to me.) Note that 2.6 is in security fix only mode, so this can only get corrected in 2.7 and 3.2/3.3. I'm surprised this hasn't been reported before. ---------- keywords: +easy stage: -> needs patch versions: +Python 2.7, Python 3.2, Python 3.3 -Python 2.6 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue14766> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com