From d53f01667ae09ee40834ab6cb9a24bc8c5e82d23 Mon Sep 17 00:00:00 2001 From: Frank Tang Date: Tue, 30 Jul 2024 13:10:55 -0700 Subject: [PATCH 1/2] Editorial: Add note to ref to UTS35 about weekinfo --- locale.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/locale.html b/locale.html index c2a31e6..925eb01 100644 --- a/locale.html +++ b/locale.html @@ -203,6 +203,10 @@

WeekInfoOfLocale ( _loc_ )

1. Return _r_. + + The record's return values are determined by _locale_, in accordance with the specifications outlined in UTS 35's Week Data and First Day Overrides. + + WeekInfo Record Fields From 81cdda52e41a169ab05a9716de1cdaf4ace4ca0b Mon Sep 17 00:00:00 2001 From: FrankYFTang Date: Tue, 30 Jul 2024 20:11:53 +0000 Subject: [PATCH 2/2] fixup: [spec] `npm run build` --- index.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/index.html b/index.html index 2e309ce..82e3b72 100644 --- a/index.html +++ b/index.html @@ -2006,6 +2006,10 @@

1.1.10 WeekInfoOfLocale ( loc )

  1. Let locale be loc.[[Locale]].
  2. Assert: locale matches the unicode_locale_id production.
  3. Let r be a record whose fields are defined by Table 2, with values based on locale.
  4. Let fws be loc.[[FirstDayOfWeek]].
  5. Let fw be !StringToWeekdayValue(fws).
  6. If fw is not undefined, then
    1. Set r.[[FirstDay]] to fw.
  7. Return r.
+ Note
+ The record's return values are determined by locale, in accordance with the specifications outlined in UTS 35's Week Data and First Day Overrides. +
+
Table 2: WeekInfo Record Fields