This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author elinaldosoft
Recipients belopolsky, elinaldosoft, p-ganssle, serhiy.storchaka
Date 2019-08-22.12:08:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1566475693.64.0.164220041491.issue37914@roundup.psfhosted.org>
In-reply-to
Content
Imagine the following scenario.

from datetime import timedelta
diff = timedelta(hours=23, minutes=59) - timedelta(hours=20, minutes=45)

Which is the simplest ?

diff.hours

diff.total_seconds() // 3600
History
Date User Action Args
2019-08-22 12:08:13elinaldosoftsetrecipients: + elinaldosoft, belopolsky, serhiy.storchaka, p-ganssle
2019-08-22 12:08:13elinaldosoftsetmessageid: <1566475693.64.0.164220041491.issue37914@roundup.psfhosted.org>
2019-08-22 12:08:13elinaldosoftlinkissue37914 messages
2019-08-22 12:08:13elinaldosoftcreate