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

datetime-malformed-no-z.toml is not malformed according to the TOML project #35

Closed
joelself opened this issue Mar 13, 2016 · 3 comments
Closed

Comments

@joelself
Copy link

From the TOML project home page:

You may omit the local offset and let the parser or host application decide that information. A good default is to use the host machine's local offset.

1979-05-27T07:32:00
1979-05-27T00:32:00.999999

The date time in datetime-malformed-no-z.toml is 1987-07-05T17:45:00 which is valid.

@rwxrob
Copy link

rwxrob commented Apr 20, 2016

Could this be one of many things that changed between v0.2.0 and v0.4.0 (the now official version)?

@joelself
Copy link
Author

Looking at the README.md of the 2.0 tag of TOML it looks like you're right:

Datetimes are ISO 8601 dates, but only the full zulu form is allowed.

1979-05-27T07:32:00Z

@uiri
Copy link
Collaborator

uiri commented Jul 3, 2018

Hi Joel, thanks for opening this issue. I am closing it as fixed by #41

@uiri uiri closed this as completed Jul 3, 2018
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

3 participants