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
Yeah, the Temporal API does indeed provide rounding APIs for datetime types. But what's even more useful, IMO, is rounding and re-balancing for durations. There are a lot of options availabe on, for example, ZonedDateTime.until that permit rounding the span returned or even choosing the "biggest" unit.
It'd make sense to be able to round datetimes in different ways:
The temporal API probably gives a big hint for doing this.
The text was updated successfully, but these errors were encountered: