mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 13:48:12 +00:00
LibJS: Update spec comments in format_time_zone_offset_string()
This is an editorial change in the Temporal spec.
See: 60c753a
This commit is contained in:
parent
d0c29c9735
commit
2ecb47c985
1 changed files with 3 additions and 1 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue