Closed hb2638 closed 1 year ago
Also note that time resolution in SQL Server only reaches 0.1us.
Hi @gordthompson and @v-chojas . Thx!! I didn't know it was "by-design"... I'll close. Thx for the "tips and tricks" link... I was unaware of the setinputsizes function. Very good to know.
Please first make sure you have looked at:
Environment
To diagnose, we usually need to know the following, including version numbers. On Windows, be sure to specify 32-bit Python or 64-bit:
Issue
python datetime.time is not round-tripable.. Getting precision loss when reading back the value thay was sent to the server
Often it is easiest to describe your issue as "expected behavior" and "observed behavior".
The below code fails with AssertionError: datetime.time(1, 23, 45, 12345) != datetime.time(1, 23, 45)