|
141 | 141 | 1. Else,
|
142 | 142 | 1. Let _needDefaults_ be *true*.
|
143 | 143 | 1. If _required_ is ~date~ or ~any~, then
|
144 |
| - 1. For each property name _prop_ of « *"weekday"*, *"year"*, *"month"*, *"day"* », do |
| 144 | + 1. For each property name _prop_ of « *"weekday"*, *"era"*, *"year"*, *"month"*, *"day"* », do |
145 | 145 | 1. Let _value_ be _formatOptions_.[[<_prop_>]].
|
146 | 146 | 1. If _value_ is not *undefined*, set _needDefaults_ to *false*.
|
147 | 147 | 1. If _required_ is ~time~ or ~any~, then
|
@@ -261,6 +261,8 @@ <h1>Internal slots</h1>
|
261 | 261 | <li>weekday, year, month, day, hour, minute, second, fractionalSecondDigits</li>
|
262 | 262 | <li>weekday, year, month, day, hour, minute, second</li>
|
263 | 263 | <li>weekday, year, month, day</li>
|
| 264 | + <li>era, year, month, day</li> |
| 265 | + <li>era, year, month</li> |
264 | 266 | <li>year, month, day</li>
|
265 | 267 | <li>year, month</li>
|
266 | 268 | <li>month, day</li>
|
|
0 commit comments