From 2c5d9790666d02357d75753bc005d60bdb679cc8 Mon Sep 17 00:00:00 2001 From: Ujjwal Sharma Date: Sat, 6 Feb 2021 02:30:56 +0530 Subject: [PATCH] spec: rebase intl spec on current version --- spec/intl.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/intl.html b/spec/intl.html index 6e55bd9593..78a4730c3b 100644 --- a/spec/intl.html +++ b/spec/intl.html @@ -431,7 +431,7 @@

PartitionDateTimePattern ( _dateTimeFormat_, _x_ )

1. Else if _f_ is *"2-digit"*, then 1. Let _fv_ be FormatNumeric(_nf2_, _v_). 1. If the *"length"* property of _fv_ is greater than 2, let _fv_ be the substring of _fv_ containing the last two characters. - 1. Else if _f_ is *"narrow"*, *"short"*, or *"long"*, then let _fv_ be a String value representing _f_ in the desired form; the String value depends upon the implementation and the effective locale and calendar of _dateTimeFormat_. If _p_ is *"month"*, then the String value may also depend on whether _dateTimeFormat_ has a [[Day]]_pattern_ has a [[day]] internal slot. If _p_ is *"timeZoneName"*, then the String value may also depend on the value of the [[InDST]] field of _tm_. If _p_ is *"era"*, then the String value may also depend on whether _dateTimeFormat_ has a [[Era]]_pattern_ has a [[era]] internal slot and if the implementation does not have a localized representation of _f_, then use _f_ itself. + 1. Else if _f_ is *"narrow"*, *"short"*, or *"long"*, then let _fv_ be a String value representing _v_ in the form given by _f_; the String value depends upon the implementation and the effective locale and calendar of _dateTimeFormat_. If _p_ is *"month"*, then the String value may also depend on whether _dateTimeFormat_ has a [[Day]]_pattern_ has a [[day]] internal slot. If _p_ is *"timeZoneName"*, then the String value may also depend on the value of the [[InDST]] field of _tm_. If _p_ is *"era"*, then the String value may also depend on whether _dateTimeFormat_ has a [[Era]]_pattern_ has a [[era]] internal slot and if the implementation does not have a localized representation of _f_, then use _f_ itself. 1. Append a new Record { [[Type]]: _p_, [[Value]]: _fv_ } as the last element of the list _result_. 1. Else if _p_ is equal to *"ampm"*, then 1. Let _v_ be _tm_.[[Hour]].