Add tests for timezone parsing whitespace and colon

Add tests for timezone parsing infinite whitespace and colons.

Prepatory tests for next commit around constraining timezone and
colons.
This commit is contained in:
jtmoon79 2022-10-18 23:39:18 -07:00 committed by Dirkjan Ochtman
parent 1f45d8ed3f
commit eb94e813d2

View File

@ -806,6 +806,11 @@ fn test_parse_datetime_utc() {
"2001-02-03T04:05:06+0000",
"2001-02-03T04:05:06-00:00",
"2001-02-03T04:05:06-01:00",
"2001-02-03T04:05:06-01: 00",
"2001-02-03T04:05:06-01 :00",
"2001-02-03T04:05:06-01 : 00",
"2001-02-03T04:05:06-01 : 00",
"2001-02-03T04:05:06-01 : :00",
"2012-12-12T12:12:12Z",
"2015-02-18T23:16:09.153Z",
"2015-2-18T23:16:09.153Z",