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 Decorater
Recipients Decorater, docs@python
Date 2017-03-21.06:25:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1490077521.83.0.664563461017.issue29866@psf.upfronthosting.co.za>
In-reply-to
Content
The datetime_diff function compares two datetime objects and returns the time since the prior datetime objects (based on the current datetime object) in a what that is readable by humans.

This is useful when one might need to compare two datetime objects, keeping ones codebase as small as possible (to ensure fast Python code), and to reduce 'hacks' in their code to make the comparison more readable by humans

the github pull request comes with changes to datetime.rst as well

Note: This is currently targeting 3.7, however if you guys desire you guys could backport it into 3.5 and 3.6.
History
Date User Action Args
2017-03-21 06:25:21Decoratersetrecipients: + Decorater, docs@python
2017-03-21 06:25:21Decoratersetmessageid: <1490077521.83.0.664563461017.issue29866@psf.upfronthosting.co.za>
2017-03-21 06:25:21Decoraterlinkissue29866 messages
2017-03-21 06:25:21Decoratercreate