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

proposal: time: add MarshalText/UnmarshalText to time.Duration #60355

Closed
islishude opened this issue May 23, 2023 · 2 comments
Closed

proposal: time: add MarshalText/UnmarshalText to time.Duration #60355

islishude opened this issue May 23, 2023 · 2 comments
Labels
Milestone

Comments

@islishude
Copy link

should we reconsider the proposal #16039 ?

Adding these methods to time.Duration would make it easier to write and read JSON data containing time.Duration objects.

@gopherbot gopherbot added this to the Proposal milestone May 23, 2023
@ianlancetaylor
Copy link
Contributor

Per #10275, I don't think we are going to make this change.

@seankhliao
Copy link
Member

There's no new information for us to reconsider, and the rules we've decided on say we can't.

@seankhliao seankhliao closed this as not planned Won't fix, can't repro, duplicate, stale May 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants