Intl.DurationFormat
Limited availability
The Intl.DurationFormat
API creates a locale-aware formatter that turns an object representing a duration (such as days, hours, and minutes) into a string.
Learning resources on MDN
Browser support
- Chrome 129 Released on 2024-09-17
- Chrome Android 129 Released on 2024-09-17
- Edge 129 Released on 2024-09-19
- Firefox ❌
- Firefox for Android ❌
- Safari 16.4 Released on 2023-03-27
- Safari on iOS 16.4 Released on 2023-03-27
Baseline availability blocked since September 2024 by Firefox (3 months)
Specifications
- Intl.DurationFormat, from TC39 (Ecma International).