# RFC 3339 formats from https://ijmacd.github.io/rfc3339-iso8601/ date: 2022-05-30 -> 2022-05-30 # times with timezones are removed since they're not supported by this library time: 20:26:52 -> 20:26:52 time: 20:26:52.3 -> 20:26:52.300000 time: 20:26:52.36 -> 20:26:52.360000 time: 20:26:52.361 -> 20:26:52.361000 time: 20:26:52.361000 -> 20:26:52.361000 dt: 2022-05-30T20:26:52Z -> 2022-05-30T20:26:52Z dt: 2022-05-30T20:26:52.3Z -> 2022-05-30T20:26:52.300000Z dt: 2022-05-30T20:26:52.36Z -> 2022-05-30T20:26:52.360000Z dt: 2022-05-30T20:26:52.361Z -> 2022-05-30T20:26:52.361000Z dt: 2022-05-30T20:26:52.361000Z -> 2022-05-30T20:26:52.361000Z dt: 2022-05-30T21:26:52+01:00 -> 2022-05-30T21:26:52+01:00 dt: 2022-05-30T21:26:52.361+01:00 -> 2022-05-30T21:26:52.361000+01:00 dt: 2022-05-30T21:26:52.361000+01:00 -> 2022-05-30T21:26:52.361000+01:00 dt: 2022-05-30 21:26:52+01:00 -> 2022-05-30T21:26:52+01:00 dt: 2022-05-30 21:26:52.3+01:00 -> 2022-05-30T21:26:52.300000+01:00 dt: 2022-05-30 21:26:52.36+01:00 -> 2022-05-30T21:26:52.360000+01:00 dt: 2022-05-30 21:26:52.361+01:00 -> 2022-05-30T21:26:52.361000+01:00 dt: 2022-05-30 21:26:52.361000+01:00 -> 2022-05-30T21:26:52.361000+01:00 dt: 2022-05-30 20:26:52Z -> 2022-05-30T20:26:52Z dt: 2022-05-30_20:26:52Z -> 2022-05-30T20:26:52Z dt: 2022-05-30 20:26:52z -> 2022-05-30T20:26:52Z dt: 2022-05-30_20:26:52z -> 2022-05-30T20:26:52Z dt: 2022-05-30 20:26:52.3Z -> 2022-05-30T20:26:52.300000Z dt: 2022-05-30 20:26:52.36Z -> 2022-05-30T20:26:52.360000Z dt: 2022-05-30 20:26:52.361Z -> 2022-05-30T20:26:52.361000Z dt: 2022-05-30_20:26:52.361Z -> 2022-05-30T20:26:52.361000Z dt: 2022-05-30 20:26:52.361000Z -> 2022-05-30T20:26:52.361000Z dt: 2022-05-30_20:26:52.361000Z -> 2022-05-30T20:26:52.361000Z dt: 2022-05-30 20:26:52.361z -> 2022-05-30T20:26:52.361000Z dt: 2022-05-30_20:26:52.361z -> 2022-05-30T20:26:52.361000Z dt: 2022-05-30 20:26:52.361000z -> 2022-05-30T20:26:52.361000Z dt: 2022-05-30_20:26:52.361000z -> 2022-05-30T20:26:52.361000Z dt: 2022-05-30 20:26:52-00:00 -> 2022-05-30T20:26:52Z dt: 2022-05-30 20:26:52.361-00:00 -> 2022-05-30T20:26:52.361000Z dt: 2022-05-30T20:26:52-00:00 -> 2022-05-30T20:26:52Z dt: 2022-05-30T20:26:52.361-00:00 -> 2022-05-30T20:26:52.361000Z dt: 2022-05-31T05:11:52+08:45 -> 2022-05-31T05:11:52+08:45 dt: 2022-05-30T20:26:52+00:00 -> 2022-05-30T20:26:52Z dt: 2022-05-30T20:26:52.361+00:00 -> 2022-05-30T20:26:52.361000Z # from https://github.com/python/cpython/blob/5849af7a80166e9e82040e082f22772bd7cf3061/Lib/test/datetimetester.py#L3104-L3226 # with invalid cases moved to values_err.txt dt: 2025-01-02T03:04 -> 2025-01-02T03:04:00 dt: 2025-01-02T03:04:05 -> 2025-01-02T03:04:05 dt: 2025-01-02T03:04:05.6 -> 2025-01-02T03:04:05.600000 dt: 2025-01-02T03:04:05,6 -> 2025-01-02T03:04:05.600000 dt: 2025-01-02T03:04:05.678 -> 2025-01-02T03:04:05.678000 dt: 2025-01-02T03:04:05.678901 -> 2025-01-02T03:04:05.678901 dt: 2025-01-02T03:04:05,678901 -> 2025-01-02T03:04:05.678901 dt: 2009-04-19T03:15:45.2345 -> 2009-04-19T03:15:45.234500 dt: 2025-01-02T03:04:05,678 -> 2025-01-02T03:04:05.678000 dt: 2025-01-02T03:04:05Z -> 2025-01-02T03:04:05Z dt: 2025-01-02T03:05:06+0300 -> 2025-01-02T03:05:06+03:00 dt: 2025-01-02T03:05:06-0300 -> 2025-01-02T03:05:06-03:00 dt: 2025-01-02T03:04:05+0000 -> 2025-01-02T03:04:05Z dt: 2020-01-01T03:05:07.123457-05:00 -> 2020-01-01T03:05:07.123457-05:00 dt: 2020-01-01T03:05:07.123457-0500 -> 2020-01-01T03:05:07.123457-05:00 dt: 2020-06-01T04:05:06.111111-04:00 -> 2020-06-01T04:05:06.111111-04:00 dt: 2020-06-01T04:05:06.111111-0400 -> 2020-06-01T04:05:06.111111-04:00 dt: 2021-10-31T01:30:00.000000+01:00 -> 2021-10-31T01:30:00+01:00 dt: 2021-10-31T01:30:00.000000+0100 -> 2021-10-31T01:30:00+01:00 dt: 2025-01-02T03:04:05,678+00:00 -> 2025-01-02T03:04:05.678000Z