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
// From CustomParseFormat documentation, assertion passes:
assert(dayjs("05/02/69 1:02:03 PM -05:00", "MM/DD/YY H:mm:ss A Z").isValid())
// Same example but with strict=true, assertion fails:
assert(dayjs("05/02/69 1:02:03 PM -05:00", "MM/DD/YY H:mm:ss A Z", true).isValid())
Expected behavior
Both should pass
Information
Day.js Version: 1.11.13
OS: Windows 10
Browser: NodeJs v20.17.0
Time zone: Europe/Warsaw UTC+2
The text was updated successfully, but these errors were encountered:
Describe the bug
Expected behavior
Both should pass
Information
The text was updated successfully, but these errors were encountered: