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

Parser accepts incorrectly formatted dates #1

Open
danny1461 opened this issue Dec 27, 2018 · 0 comments
Open

Parser accepts incorrectly formatted dates #1

danny1461 opened this issue Dec 27, 2018 · 0 comments

Comments

@danny1461
Copy link
Owner

When parsing, white space is currently ignored when not in a string.

This means that all these dates will parser exactly the same:

1979-05-27 07:32:00Z
1979-05-2707:32:00Z
1979-05-27                  07:32:00Z

TOML spec says that dates should have exactly one space or use the 'T' delimeter

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant