There was an error while loading. Please reload this page.
1 parent 04087cb commit c55ee49Copy full SHA for c55ee49
1 file changed
spec/datetimeformat.html
@@ -1401,9 +1401,9 @@ <h1>
1401
1. If _partType_ is *"month"*, set _value_ to _value_ + 1.
1402
1. If _partType_ is *"hour"* and _dateTimeFormat_.[[HourCycle]] is *"h11"* or *"h12"*, then
1403
1. Set _value_ to _value_ modulo 12.
1404
- 1. If _value_ is 0 and _dateTimeFormat_.[[HourCycle]] is *"h12"*, set _value_ to 12.
+ 1. If _value_ = 0 and _dateTimeFormat_.[[HourCycle]] is *"h12"*, set _value_ to 12.
1405
1. If _partType_ is *"hour"* and _dateTimeFormat_.[[HourCycle]] is *"h24"*, then
1406
- 1. If _value_ is 0, set _value_ to 24.
+ 1. If _value_ = 0, set _value_ to 24.
1407
1. If _fieldFormat_ is *"numeric"*, then
1408
1. Let _formattedValue_ be FormatNumeric(_nf_, _value_).
1409
1. Else if _fieldFormat_ is *"2-digit"*, then
0 commit comments