You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: Duration(float seconds) truncates instead of rounding, losing a microsecond #40263
Duration(seconds) truncates instead of rounding when seconds is a float, so it can land one microsecond below the value passed in. This is the same thing #40235 described for Timestamp, which #40257 fixed, but Duration.__init__ still does:
Activity
anishmehta24 commentedon Sep 24, 2026
.take-issue