mirror of
https://github.com/chronotope/chrono.git
synced 2025-10-02 07:21:41 +00:00
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:
parent
1f45d8ed3f
commit
eb94e813d2
@ -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",
|
||||
|
Loading…
x
Reference in New Issue
Block a user