-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Open
Labels
Description
Describe the bug
According to ISO8601, the time offsets are from UTC.
UTC offsets can range from -12:00 to +14:00
Based on the spec, the validator isISO8601 should return false for any timezone offset beyond that range. However, the validator is returning true for these values.
Additional context
Validator.js version: v13.7.0
Node.js version: v14.18.1
OS platform: macOS
DaniAkash, ejgonzalez17 and sarfraaz-talat
