Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Treat "Z" offset in datetime as case-insensitive (#435)
This should be case-insensitive; e.g. this test failed: % toml-test ./tests/decoding_test.py -run valid/datetime/datetime FAIL valid/datetime/datetime Key "lower" is not "datetime" but "datetime-local": Expected: map[string]any{"type":"datetime", "value":"1987-07-05T17:45:00Z"} Your encoder: map[string]any{"type":"datetime-local", "value":"1987-07-05T17:45:00"}
- Loading branch information