Skip to content
This repository has been archived by the owner on Oct 20, 2021. It is now read-only.

FR: Better support of Date-Time and Local date / Local Time #12

Closed
mkretlow opened this issue Nov 27, 2018 · 2 comments
Closed

FR: Better support of Date-Time and Local date / Local Time #12

mkretlow opened this issue Nov 27, 2018 · 2 comments

Comments

@mkretlow
Copy link

Hi,
the parser throws an exception if you try to parse a Date-Time formatted as "2018-01-01 00:00:00Z" instead of "2018-01-01T00:00:00Z", but according to TOML a blank instead 'T' is allowed.

Moreover I would appreciate it very much if support for Date only ("2018-01-01") and perhaps Time only ("08:15:00") would be included in the future.

Ref: https://github.com/toml-lang/toml#user-content-local-date-time

Thanks, Mike

This was referenced Nov 29, 2018
@wildart
Copy link
Collaborator

wildart commented Nov 29, 2018

Local dates are TOML v0.5 feature, but this package supports only TOML v0.4. I fixed readability of datetime strings in #13, which is the only thing possible at this moment.

@mkretlow
Copy link
Author

OK, thanks so far.

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

No branches or pull requests

3 participants