Skip to content

Commit 689ac10

Browse files
Ms2gerptomato
authored andcommitted
Editorial: Clarify AddZonedDateTime with missing options.
1 parent 337ab1c commit 689ac10

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

lib/ecmascript.mjs

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3575,7 +3575,22 @@ export const ES = ObjectAssign({}, ES2020, {
35753575
nanosecond
35763576
};
35773577
},
3578-
AddZonedDateTime: (instant, timeZone, calendar, years, months, weeks, days, h, min, s, ms, µs, ns, options) => {
3578+
AddZonedDateTime: (
3579+
instant,
3580+
timeZone,
3581+
calendar,
3582+
years,
3583+
months,
3584+
weeks,
3585+
days,
3586+
h,
3587+
min,
3588+
s,
3589+
ms,
3590+
µs,
3591+
ns,
3592+
options = ObjectCreate(null)
3593+
) => {
35793594
// If only time is to be added, then use Instant math. It's not OK to fall
35803595
// through to the date/time code below because compatible disambiguation in
35813596
// the PlainDateTime=>Instant conversion will change the offset of any

0 commit comments

Comments
 (0)