From fd8e3622f6227606b166f58d83205971ee0d0f47 Mon Sep 17 00:00:00 2001 From: Bart Enkelaar Date: Thu, 24 Sep 2020 10:32:13 +0200 Subject: [PATCH] UnitFormat was folded into Unified NumberFormat As per https://github.com/tc39/ecma402/issues/32#issuecomment-516588266 --- docs/moment.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/moment.md b/docs/moment.md index d5bf91dce..bcee2a858 100644 --- a/docs/moment.md +++ b/docs/moment.md @@ -164,7 +164,7 @@ Luxon has `toRelative` and `toRelativeCalendar`. For internationalization, they Moment Durations and Luxon Durations are broadly similar in purpose and capabilities. The main differences are: 1. Luxon durations have more sophisticated conversion capabilities. They can convert from one set of units to another using `shiftTo`. They can also be configured to use different unit conversions. See [Duration Math](math.html#duration-math) for more. -1. Luxon does not (yet) have an equivalent of Moment's Duration `humanize` method. Luxon will add that when [Intl.UnitFormat](https://github.com/tc39/proposal-intl-unit-format) is supported by browsers. +1. Luxon does not (yet) have an equivalent of Moment's Duration `humanize` method. Luxon will add that when [Unified Intl.NumberFormat](https://github.com/tc39/proposal-unified-intl-numberformat) is supported by browsers. 1. Like DateTimes, Luxon Durations have separate methods for creating objects from different sources. See the [Duration API docs](../class/src/duration.js~Duration.html) for more.