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

Decoder: time allows extra precision #710

Merged
merged 1 commit into from Dec 26, 2021
Merged

Decoder: time allows extra precision #710

merged 1 commit into from Dec 26, 2021

Conversation

pelletier
Copy link
Owner

As discussed1, this change allows times to provide precision beyond the
nanosecond (nine digits fractional part). Extra precision is truncated according
to the TOML specificiation.

As discussed[1], this change allows times to provide precision beyond the
nanosecond (nine digits fractional part). Extra precision is truncated according
to the TOML specificiation.

[1]: #707
@pelletier pelletier merged commit 8ce5c3d into v2 Dec 26, 2021
@pelletier pelletier deleted the precision branch December 26, 2021 16:05
@pelletier pelletier added the feature Issue asking for a new feature in go-toml. label Dec 26, 2021
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

Successfully merging this pull request may close these issues.

None yet

1 participant