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
Creating a duration from an ISO String doesn't set the milliseconds in the duration object. dayjs.duration("P4DT12H30M17.899S")
returns { years: 0, months: 0, weeks: 0, days: 4, hours: 12, minutes: 30, seconds: 17.899 }
Expected behavior
The milliseconds will be set { years: 0, months: 0, weeks: 0, days: 4, hours: 12, minutes: 30, seconds: 17, milliseconds: 899 }
Information
Day.js Version v1.10.7
The text was updated successfully, but these errors were encountered:
Describe the bug
Creating a duration from an ISO String doesn't set the milliseconds in the duration object.
dayjs.duration("P4DT12H30M17.899S")
returns
{ years: 0, months: 0, weeks: 0, days: 4, hours: 12, minutes: 30, seconds: 17.899 }
Expected behavior
The milliseconds will be set
{ years: 0, months: 0, weeks: 0, days: 4, hours: 12, minutes: 30, seconds: 17, milliseconds: 899 }
Information
The text was updated successfully, but these errors were encountered: