diff options
| author | Vitalii Kravchenko <vitalyx@gmail.com> | 2024-05-24 17:37:57 +0100 |
|---|---|---|
| committer | Vitalii Kravchenko <vitalyx@gmail.com> | 2024-05-24 18:03:52 +0100 |
| commit | ff94ca9e426374ec701a1c78e36e9e26c2f4c321 (patch) | |
| tree | cf8d08988253859fa53d9cd4d364c451c9f7ddd2 /tests | |
| parent | d698d4cdaebb4a5017521d58db24e23ae6605634 (diff) | |
Allow space (in addition to T and t) as RFC 3339 date/time separator.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/core/time/test_core_time.odin | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/core/time/test_core_time.odin b/tests/core/time/test_core_time.odin index 2cea47680..7161cf349 100644 --- a/tests/core/time/test_core_time.odin +++ b/tests/core/time/test_core_time.odin @@ -92,6 +92,8 @@ RFC3339_Test :: struct{ rfc3339_tests :: []RFC3339_Test{ // This represents 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. {"1985-04-12T23:20:50.52Z", {482196050520000000}, true, 0, 23, false}, + {"1985-04-12t23:20:50.52Z", {482196050520000000}, true, 0, 23, false}, + {"1985-04-12 23:20:50.52Z", {482196050520000000}, true, 0, 23, false}, // This represents 39 minutes and 57 seconds after the 16th hour of December 19th, 1996 with an offset of -08:00 from UTC (Pacific Standard Time). // Note that this is equivalent to 1996-12-20T00:39:57Z in UTC. |