Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Treat "Z" offset in datetime as case-insensitive #435

Merged
merged 1 commit into from
Oct 11, 2023
Merged

Treat "Z" offset in datetime as case-insensitive #435

merged 1 commit into from
Oct 11, 2023

Commits on Oct 10, 2023

  1. Treat "Z" offset in datetime as case-insensitive

    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"}
    arp242 committed Oct 10, 2023
    Configuration menu
    Copy the full SHA
    bb4a5f6 View commit details
    Browse the repository at this point in the history