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
Parsing certain strings returns Invalid Date:
dayjs('2020-07-01T10:45:00.000Z').format("d MMMM YYYY") // 3 July 2020
Returns July 3 but must return July 1
dayjs('2020-06-30T10:45:00.000Z').format("d MMMM YYYY") // 2 June 2020
Returns 2 June but must return 30 June
Expected behavior
dayjs('2020-07-01T10:45:00.000Z').format("d MMMM YYYY")
Returns 1 July 2020
dayjs('2020-06-30T10:45:00.000Z').format("d MMMM YYYY") // 2 June 2020
Returns 30 June 2020
Information
Day.js Version [e.g. v1.8.28]
OS: [e.g. macOS]
Browser [e.g. chrome 62]
Time zone: [e.g. GMT-07:00 DST (Pacific Daylight Time)]
The text was updated successfully, but these errors were encountered:
Describe the bug
Parsing certain strings returns Invalid Date:
dayjs('2020-07-01T10:45:00.000Z').format("d MMMM YYYY") // 3 July 2020
Returns July 3 but must return July 1
dayjs('2020-06-30T10:45:00.000Z').format("d MMMM YYYY") // 2 June 2020
Returns 2 June but must return 30 June
Expected behavior
dayjs('2020-07-01T10:45:00.000Z').format("d MMMM YYYY")
Returns 1 July 2020
dayjs('2020-06-30T10:45:00.000Z').format("d MMMM YYYY") // 2 June 2020
Returns 30 June 2020
Information
The text was updated successfully, but these errors were encountered: