Skip to content

Commit 7e105d8

Browse files
authored
Merge pull request #99 from tc39/removeMinimumDay
Normative: Remove minimal days from the proposal
2 parents 6459bc4 + 025e3e9 commit 7e105d8

File tree

4 files changed

+13
-24
lines changed

4 files changed

+13
-24
lines changed

README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ Stage 3
6565

6666
## Scope
6767

68-
A proposal to expose Locale information, such as week data (first day in a week, weekend start day, weekend end day, minimum day in the first week), and text direction hour cycle used in the locale ~,measurement system used in the locale~.
68+
A proposal to expose Locale information, such as week data (first day in a week, weekend start day, weekend end day), and text direction hour cycle used in the locale ~,measurement system used in the locale~.
6969

7070
* Week Data: (User request: https://github.com/tc39/ecma402/issues/6 )
7171
* Prior Arts:
@@ -106,17 +106,17 @@ Add methods to Intl to get object to contains group of information:
106106
```js
107107
let he = new Intl.Locale("he")
108108
he.getWeekInfo()
109-
// {firstDay: 7, weekend: [5, 6], minimalDays: 1}
109+
// {firstDay: 7, weekend: [5, 6]}
110110
let af = new Intl.Locale("af")
111111
af.getWeekInfo()
112-
// {firstDay: 7, weekend: [6, 7], minimalDays: 1}
112+
// {firstDay: 7, weekend: [6, 7]}
113113
enGB = new Intl.Locale("en-GB")
114114
enGB.getWeekInfo()
115-
// {firstDay: 1, weekend: [6, 7], minimalDays: 4}
115+
// {firstDay: 1, weekend: [6, 7]}
116116

117117
let msBN = new Intl.Locale("ms-BN")
118118
msBN.getWeekInfo()
119-
// {firstDay: 7, weekend: [5, 7], minimalDays: 1} // Brunei weekend is Friday and Sunday but not Saturday
119+
// {firstDay: 7, weekend: [5, 7]} // Brunei weekend is Friday and Sunday but not Saturday
120120
```
121121
Monday is 1 and Sunday is 7, as defined by ISO-8861 and followed by [Temporal proposal](https://tc39.es/proposal-temporal/#sec-temporal-todayofweek)
122122
#### Text Information

0 commit comments

Comments
 (0)