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

Local time support #315

Closed
pelletier opened this issue Oct 25, 2019 · 0 comments
Closed

Local time support #315

pelletier opened this issue Oct 25, 2019 · 0 comments
Labels
feature Issue asking for a new feature in go-toml.

Comments

@pelletier
Copy link
Owner

pelletier commented Oct 25, 2019

Local time support in the TOML 0.5.0 spec.

If you include only the time portion of an RFC
3339
formatted date-time, it will represent
that time of day without any relation to a specific day or any offset or
timezone.

lt1 = 07:32:00
lt2 = 00:32:00.999999

The precision of fractional seconds is implementation specific, but at least
millisecond precision is expected. If the value contains greater precision than
the implementation can support, the additional precision must be truncated, not
rounded.

Should probably be based off #298

@pelletier pelletier added the feature Issue asking for a new feature in go-toml. label Oct 25, 2019
@pelletier pelletier added this to the Support TOML 0.5.0 milestone Oct 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Issue asking for a new feature in go-toml.
Projects
None yet
Development

No branches or pull requests

1 participant