diff --git a/lib/duration.ts b/lib/duration.ts index 0bba13de..ac2e0138 100644 --- a/lib/duration.ts +++ b/lib/duration.ts @@ -308,10 +308,6 @@ export class Duration implements Temporal.Duration { roundingMode, relativeTo )); - ({ years, months, weeks, days } = ES.BalanceDurationRelative(years, months, weeks, days, largestUnit, relativeTo)); - if (ES.IsTemporalZonedDateTime(relativeTo)) { - relativeTo = ES.MoveRelativeZonedDateTime(relativeTo, years, months, weeks, 0); - } ({ days, hours, minutes, seconds, milliseconds, microseconds, nanoseconds } = ES.BalanceDuration( days, hours, @@ -323,6 +319,7 @@ export class Duration implements Temporal.Duration { largestUnit, relativeTo )); + ({ years, months, weeks, days } = ES.BalanceDurationRelative(years, months, weeks, days, largestUnit, relativeTo)); return new Duration(years, months, weeks, days, hours, minutes, seconds, milliseconds, microseconds, nanoseconds); }