PYTHON-346 - Eliminate unnecessary datetime.replace call