Skip to content

Commit c0af7e9

Browse files
authored
updated probe1
1 parent e0e0ee9 commit c0af7e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/datetime.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1679,7 +1679,7 @@ def _fromtimestamp(cls, t, utc, tz):
16791679
return result
16801680

16811681
y, m, d, hh, mm, ss = converter(t - max_fold_seconds)[:6]
1682-
probe1 = cls(y, m, d, hh, mm, ss, us, tz)
1682+
probe1 = cls(y, m, d, hh, mm, ss, us, tz, submicrosecond=sus)
16831683
trans = result - probe1 - timedelta(0, max_fold_seconds)
16841684
if trans.days < 0:
16851685
y, m, d, hh, mm, ss = converter(t + trans // timedelta(0, 1))[:6]

0 commit comments

Comments
 (0)