I'm using Duration plugin for formatting a duration as the documentation guides, but got the following error:
Uncaught TypeError: t(...).add(...).locale(...).fromNow is not a function
I realized that .humanize() from Duration plugin relies on .fromNow() method provided by RelativeTime plugin, which is not mentioned in documentation. I think either this should be stated in the docs, or Duration should just load RelativeTime automatically.
We have mentioned it https://day.js.org/docs/en/durations/humanize.
But should add it to this as well, thanks.
Most helpful comment
https://day.js.org/docs/en/durations/locale updated