-
Notifications
You must be signed in to change notification settings - Fork 18k
x/pkgsite: time package displayed incorrectly #50743
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
Comments
The text in the file is "The formats __2 and 002 are space-padded and zero-padded". However, the display at https://pkg.go.dev/time is "The formats and 002 are space-padded and zero-padded". So somehow the pkgsite code is droppig the "__2". It's not there in the HTML source ("The formats and 002 are space-padded and zero-padded"). |
CC @jamalc |
The documentation matches the src for go1.17. I think part of that comment was accidentally removed. It used to read: |
It is fixed on master so this should resolve with the next release. |
Sorry for not checking 1.17. Text was broken in https://go.dev/cl/320252, fixed in https://go.dev/cl/349929. |
Current:
Desired:
See https://pkg.go.dev/time#pkg-constants
The text was updated successfully, but these errors were encountered: