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 Or Toledano
Recipients Or Toledano, SilentGhost, belopolsky, lemburg, p-ganssle
Date 2020-04-18.11:30:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1587209407.24.0.22299396628.issue40316@roundup.psfhosted.org>
In-reply-to
Content
The use-case for this method is to "limit" the resolution of a time object.
I encountered the need for it when I needed to reduce the resolution of some timestamps, to compare them with timestamps of lesser resolution.
I found the following SOF post: https://stackoverflow.com/questions/13838394/can-i-easily-get-datetime-with-less-resolution-in-python
which made me think that a zero function can be nice for that use case of datetime.replace
History
Date User Action Args
2020-04-18 11:30:07Or Toledanosetrecipients: + Or Toledano, lemburg, belopolsky, SilentGhost, p-ganssle
2020-04-18 11:30:07Or Toledanosetmessageid: <1587209407.24.0.22299396628.issue40316@roundup.psfhosted.org>
2020-04-18 11:30:07Or Toledanolinkissue40316 messages
2020-04-18 11:30:06Or Toledanocreate