Solution for #528 ?

This commit is contained in:
the-djmaze 2022-09-25 23:39:35 +02:00
parent 6a3ebb9e5d
commit 867f8ff199

View file

@ -304,7 +304,7 @@ class DateTimeParser
(?: \.[0-9]{3})? # milliseconds
(?P<timezone> # timezone offset
Z | (?: \+|-)(?: [0-9]{2}:[0-9]{2})
Z | (?: \+|-)(?: [0-9]{2}:?[0-9]{2})
)?
@ -406,7 +406,7 @@ class DateTimeParser
(?: \.[0-9]{3})? # milliseconds
(?P<timezone> # timezone offset
Z | (?: \+|-)(?: [0-9]{2}:[0-9]{2})
Z | (?: \+|-)(?: [0-9]{2}:?[0-9]{2})
)?
$/x';