[docs] [issue13666] datetime documentation typos
report at bugs.python.org
Sat Jan 7 17:57:51 CET 2012
Aaron Maenpaa <aaron at maenpaa.ca> added the comment:
This patch fixes the rzinfo typo as well as the GMT2 issue (GMT +2 should behave exactly the same as GMT +1 with regards to DST, it's base offset should simply be +2 hours instead of +1).
This does not; however, address the comment about the first line of the tzinfo.utcoffset(). The fact that tzinfo.utcoffset() should return a timedelta or None is addressed later in the same paragraph, as such I'm not sure the proposed change is an improvement.
Added file: http://bugs.python.org/file24161/issue13666.diff
Python tracker <report at bugs.python.org>
More information about the docs