Barry A. Warsaw <ba...@python.org> added the comment:

The .replace(microseconds=0) hack annoys me too, but I'd be happier with a 
simpler solution: make datetime.now() accept a microseconds parameter, so 
datetime.now(microseconds=0) would be equivalent to 
datetime.now().replace(microseconds=0)

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue32522>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to