-
Notifications
You must be signed in to change notification settings - Fork 18k
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
x/text: support ordinal suffix in time format #8301
Comments
Actually, this request has nothing to do with the templates package. It's the time package's Format function (.Date is a time.Time object). I used the template example as that was how I was calling it. Perhaps I should have gone with: fmt.Println(time.Date(2014,6,10,0,0,0,0,time.Local).Format("Monday 2nd January 2006")) In terms of language conventions, the package does support days of the week, etc. |
The |
CL https://golang.org/cl/16010 mentions this issue. |
Yes, I think this change would not be welcome in the standard time package. Sorry. |
@usedbytes Maybe file a follow-up proposal issue for the change on the time package. |
by krolaw:
The text was updated successfully, but these errors were encountered: