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
Describe the bug
After loading dayjs from unpkg.com, I ran the example code from the duration with diff section of the docs. The dayjs() function works fine, however when it gets to creating the duration with dayjs.duration(), I get the error Uncaught TypeError: dayjs.duration is not a function
Expected behavior
I expect a duration object to be created for me to use
Information
Day.js Version v1.10.5
OS: Arch Linux
Browser Firefox 89
The text was updated successfully, but these errors were encountered:
Describe the bug
After loading dayjs from unpkg.com, I ran the example code from the duration with diff section of the docs. The
dayjs()
function works fine, however when it gets to creating the duration withdayjs.duration()
, I get the errorUncaught TypeError: dayjs.duration is not a function
Expected behavior
I expect a duration object to be created for me to use
Information
The text was updated successfully, but these errors were encountered: