// 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())
Describe the bug
Expected behavior Both should pass
Information