We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e27e710 commit bcfdd20Copy full SHA for bcfdd20
bson/datetime_ms.py
@@ -26,7 +26,7 @@
26
from bson.tz_util import utc
27
28
EPOCH_AWARE = datetime.datetime.fromtimestamp(0, utc)
29
-EPOCH_NAIVE = datetime.datetime.fromtimestamp(0, tz=datetime.timezone.utc).replace(tzinfo=None)
+EPOCH_NAIVE = EPOCH_AWARE.replace(tzinfo=None)
30
31
32
class DatetimeMS:
0 commit comments