You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
I'm using Duration plugin for formatting a duration as the documentation guides, but got the following error:
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.The text was updated successfully, but these errors were encountered: