On the standards track: Yes
Is Experimental: No
Is Deprecated: No
In Bun version 1.0.0 on 2023-09-08
In Chrome version 57 on 2017-03-09 Note: Before version 71, formatToParts() returned an object with an incorrectly cased type key of dayperiod. Version 71 and later use the specification defined dayPeriod. See bug 41402623.
In Chrome Android version 57 on 2017-03-16 Note: Before version 71, formatToParts() returned an object with an incorrectly cased type key of dayperiod. Version 71 and later use the specification defined dayPeriod. See bug 41402623.
In Deno version 1.8 on 2021-03-02
In Edge version 18 on 2018-10-02
In Firefox version 51 on 2017-01-24
In Firefox for Android version 56 on 2017-09-28
Not in Internet Explorer
In Node.js version 8.0.0 on 2017-05-30 Note: Before version 12.0.0, formatToParts() returned an object with an incorrectly cased type key of dayperiod. Version 12.0.0 and later use the specification defined dayPeriod. See bug 41402623. Before version 13.0.0, only the locale data for en-US is available by default. See the DateTimeFormat() constructor for more details.
In Quest Browser version 5.0 on undefined Note: Before version 6.0, formatToParts() returned an object with an incorrectly cased type key of dayperiod. Version 71 and later use the specification defined dayPeriod. See bug 41402623.
In Opera version 44 on 2017-03-21 Note: Before version 58, formatToParts() returned an object with an incorrectly cased type key of dayperiod. Version 58 and later use the specification defined dayPeriod. See bug 41402623.
In Opera Android version 43 on 2017-09-27 Note: Before version 50, formatToParts() returned an object with an incorrectly cased type key of dayperiod. Version 50 and later use the specification defined dayPeriod. See bug 41402623.
In Safari version 11 on 2017-09-19
In Safari on iOS version 11 on 2017-09-19
In Samsung Internet version 7.0 on 2018-03-16 Note: Before version 71, formatToParts() returned an object with an incorrectly cased type key of dayperiod. Version 71 and later use the specification defined dayPeriod. See bug 41402623.
In WebView Android version 57 on 2017-03-16 Note: Before version 71, formatToParts() returned an object with an incorrectly cased type key of dayperiod. Version 71 and later use the specification defined dayPeriod. See bug 41402623.
In WebView on iOS version 11 on 2017-09-19