[Zope-dev] DateTime issues with negative offsets
Leonardo Rochael Almeida
leorochael at gmail.com
Sun Dec 9 23:06:27 UTC 2012
Here's Guido's official explanation for the divmod behaviour:
http://python-history.blogspot.com.br/2010/08/why-pythons-integer-division-floors.html
IMHO we should treat negative offsets specially, doing the divmod()
with -60 in that case.
Regards,
Leo
On Fri, Dec 7, 2012 at 5:22 PM, Juan A. Diaz <nueces at ravvit.net> wrote:
>
>>>> secconds / 60
More information about the Zope-Dev
mailing list