Bug 285212

Summary: [JSC] `Intl.DurationFormat` should print negative sign for minutes after hidden hours
Product: WebKit Reporter: Sosuke Suzuki <sosuke>
Component: JavaScriptCoreAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Sosuke Suzuki
Reported 2024-12-27 23:25:22 PST
input: ``` const df = new Intl.DurationFormat('en-US', { style: "digital", hoursDisplay: "auto", }) print(df.format({ hours: 0, minutes: -2, seconds: -3 })); ``` expected output: `-02:03` actual output: `02:03`
Attachments
Sosuke Suzuki
Comment 1 2024-12-27 23:43:20 PST
EWS
Comment 2 2024-12-28 01:41:26 PST
Committed 288317@main (fb9e1dc79a67): <https://commits.webkit.org/288317@main> Reviewed commits have been landed. Closing PR #38404 and removing active labels.
Radar WebKit Bug Importer
Comment 3 2024-12-28 01:42:14 PST
Note You need to log in before you can comment on or make changes to this bug.