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 HassanAbouelela
Recipients HassanAbouelela, belopolsky, p-ganssle, steven.daprano, yurzo
Date 2020-10-13.20:42:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1602621731.68.0.416678338781.issue41904@roundup.psfhosted.org>
In-reply-to
Content
If having an arbitrary time returned from the function is an issue, why not use a fixed time, say 0 UTC, representing the start of the day. This would mean that datetime.today is date.today, with an (arguably) meaningless timestamp to make it a datetime object.
History
Date User Action Args
2020-10-13 20:42:11HassanAbouelelasetrecipients: + HassanAbouelela, belopolsky, steven.daprano, p-ganssle, yurzo
2020-10-13 20:42:11HassanAbouelelasetmessageid: <1602621731.68.0.416678338781.issue41904@roundup.psfhosted.org>
2020-10-13 20:42:11HassanAbouelelalinkissue41904 messages
2020-10-13 20:42:11HassanAbouelelacreate