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

time: Duration should implement fmt.Formatter #8786

Closed
dsymonds opened this issue Sep 21, 2014 · 1 comment
Closed

time: Duration should implement fmt.Formatter #8786

dsymonds opened this issue Sep 21, 2014 · 1 comment
Assignees

Comments

@dsymonds
Copy link
Member

@dsymonds dsymonds commented Sep 21, 2014

It'd be nice if http://play.golang.org/p/KCnUQOPyol printed "[+3us]", which
would require time.Duration implementing fmt.Formatter to get the '+' flag.
@dsymonds dsymonds added new labels Sep 21, 2014
@bradfitz bradfitz removed the new label Dec 18, 2014
@rsc
Copy link
Contributor

@rsc rsc commented Jan 8, 2015

time must not depend on fmt.

@rsc rsc closed this Jan 8, 2015
@golang golang locked and limited conversation to collaborators Jun 25, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
5 participants
You can’t perform that action at this time.