From a7997ce372ec60a1c66ad02a8042a649fa4312d9 Mon Sep 17 00:00:00 2001 From: Philip Chimento Date: Mon, 13 Jan 2025 16:04:22 -0500 Subject: [PATCH] Editorial: Don't override already existing timeZoneName in Intl options The intention here was to set a default, not override any existing value. Thanks to Anba for spotting this. Closes: #3064 --- spec/intl.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/intl.html b/spec/intl.html index 9e7d92680..f16843674 100644 --- a/spec/intl.html +++ b/spec/intl.html @@ -868,7 +868,7 @@

1. If _anyPresent_ is *true* and _inherit_ is ~relevant~, return *null*. 1. For each property name _prop_ of _defaultOptions_, do 1. Set _formatOptions_.[[<_prop_>]] to *"numeric"*. - 1. If _defaults_ is ~zoned-date-time~, then + 1. If _defaults_ is ~zoned-date-time~ and _formatOptions_.[[timeZoneName]] is *undefined*, then 1. Set _formatOptions_.[[timeZoneName]] to *"short"*. 1. If _matcher_ is *"basic"*, then 1. Let _bestFormat_ be BasicFormatMatcher(_formatOptions_, _formats_).