Skip to content

Commit

Permalink
UnitFormat was folded into Unified NumberFormat
Browse files Browse the repository at this point in the history
  • Loading branch information
benkelaar authored Sep 24, 2020
1 parent 3906991 commit fd8e362
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/moment.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit fd8e362

Please sign in to comment.