From f609768de4d49be63244f6c984dfbef7ea8627f9 Mon Sep 17 00:00:00 2001 From: Justin Grant Date: Wed, 21 Jun 2023 13:11:33 -0500 Subject: [PATCH] Editorial: Remove `If` in SystemTimeZoneIdentifier (#3104) Removes an unnecessary line in SystemTimeZoneIdentifier. Originally this AO contained an assert that applied to named time zones but not offset time zones. Based on editors' feedback in #3035, this assertion was replaced with different text, making the remaining If statement unnecessary. But I didn't notice this until after #3035 was merged. This commit removes the now-unnecessary If statement. --- spec.html | 1 - 1 file changed, 1 deletion(-) diff --git a/spec.html b/spec.html index a023159ed6..3605cbfd0e 100644 --- a/spec.html +++ b/spec.html @@ -32343,7 +32343,6 @@

SystemTimeZoneIdentifier ( ): a String

1. If the implementation only supports the UTC time zone, return *"UTC"*. 1. Let _systemTimeZoneString_ be the String representing the host environment's current time zone, either a primary time zone identifier or an offset time zone identifier. - 1. If IsTimeZoneOffsetString(_systemTimeZoneString_) is *true*, return _systemTimeZoneString_. 1. Return _systemTimeZoneString_.