Skip to content

Commit 0d9dc56

Browse files
anbaryzokuken
authored andcommitted
Editorial: Add two more required formats
This makes format selection in BasicFormatMatcher unambiguous when requesting the following two formats: 1. Standalone "month": There's currently a tie between "year, month" and "month, day". Adding standalone "month" as a required format resolves this tie. 2. "dayPeriod, hour, minute, second, fractionalSecondDigits": There's a tie between "hour, minute, second, fractionalSecondDigits" and "dayPeriod, hour, minute, second". Requiring a format which has both "dayPeriod" and "fractionalSecondDigits" resolves this tie.
1 parent 7fcb27e commit 0d9dc56

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

spec/datetimeformat.html

+3-1
Original file line numberDiff line numberDiff line change
@@ -247,12 +247,14 @@ <h1>Internal slots</h1>
247247
<li>year, month, day</li>
248248
<li>year, month</li>
249249
<li>month, day</li>
250+
<li>month</li>
250251
<li>hour, minute, second, fractionalSecondDigits</li>
251252
<li>hour, minute, second</li>
252253
<li>hour, minute</li>
253-
<li>dayPeriod, hour</li>
254+
<li>dayPeriod, hour, minute, second, fractionalSecondDigits</li>
254255
<li>dayPeriod, hour, minute, second</li>
255256
<li>dayPeriod, hour, minute</li>
257+
<li>dayPeriod, hour</li>
256258
</ul>
257259
</li>
258260
<li>

0 commit comments

Comments
 (0)