From c7a384c4c9b48c27aec0125ab988602dae1b618e Mon Sep 17 00:00:00 2001 From: Aditi Date: Wed, 17 Jan 2024 19:52:46 +0530 Subject: [PATCH] Make CalendarDateWeekOfYear return undefined ...for all calendars without well-defined week calendar system --- spec/intl.html | 3 +++ spec/mainadditions.html | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/spec/intl.html b/spec/intl.html index 8c71457546..0f1450dd8c 100644 --- a/spec/intl.html +++ b/spec/intl.html @@ -1697,6 +1697,9 @@

Usually the [[Year]] field will contain the same value given by CalendarDateYear, but may contain the previous or next year if the week number in the [[Week]] field overlaps two different years. See also ToISOWeekOfYear.

+

+ It returns *undefined* in [[Week]] and [[Year]] field for calendars that do not have a well-defined week calendar system. +

diff --git a/spec/mainadditions.html b/spec/mainadditions.html index ad7e740cc7..8271889874 100644 --- a/spec/mainadditions.html +++ b/spec/mainadditions.html @@ -53,12 +53,12 @@

The Year-Week Record Specification Type

[[Week]] - a positive integer + a positive integer or *undefined* The calendar week of year. [[Year]] - an integer + an integer or *undefined* The week calendar year.