Open
Description
Both the regex for XsdTimezoneComponent
as well as for the optional variant are erroneous:
((\+\|-)(0[1-9]\|1[0-9]\|2[0-4]):(0[0-9]\|[1-5][0-9])\|Z)
This does not allow for timezones with two leading zeros, e.g. +00:30
.
On a similar note, the minute-part of the regex could be simplified from 0[0-9]\|[1-5][0-9]
to [0-5][0-9]
.
Metadata
Metadata
Assignees
Labels
No labels