diff options
-rw-r--r-- | Userland/Libraries/LibJS/Runtime/Temporal/TimeZone.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/Temporal/TimeZone.cpp b/Userland/Libraries/LibJS/Runtime/Temporal/TimeZone.cpp index fdeba4807f..2b4f921754 100644 --- a/Userland/Libraries/LibJS/Runtime/Temporal/TimeZone.cpp +++ b/Userland/Libraries/LibJS/Runtime/Temporal/TimeZone.cpp @@ -343,8 +343,10 @@ String format_time_zone_offset_string(double offset_nanoseconds) // a. Let post be the string-concatenation of the code unit 0x003A (COLON) and s. builder.appendff(":{:02}", seconds); } + // 13. Else, + // a. Let post be the empty String. - // 13. Return the string-concatenation of sign, h, the code unit 0x003A (COLON), m, and post. + // 14. Return the string-concatenation of sign, h, the code unit 0x003A (COLON), m, and post. return builder.to_string(); } |