- From: fabon <notifications@github.com>
- Date: Mon, 16 Mar 2026 23:45:46 -0700
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 17 March 2026 06:45:50 UTC
fabon-f left a comment (whatwg/dom#1458) IMO "duration-like object" should mean an object with properties `years`, `minutes`, etc. since existing APIs (`Intl.DurationFormat.p.format` and `Temporal.Duration.from`) accept such object. Browsers can convert a duration-like object to real `Temporal.Duration` via `Temporal.Duration.from` and then convert to milliseconds via `total` method. -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/dom/issues/1458#issuecomment-4072759994 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/dom/issues/1458/4072759994@github.com>
Received on Tuesday, 17 March 2026 06:45:50 UTC