You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unlike many projects, the Go project does not use GitHub Issues for general discussion or asking questions. GitHub Issues are used for tracking bugs and proposals only.
Go version
go version go1.23.4 darwin/arm64
Output of
go env
in your module/workspace:What did you do?
I parsed a date with only a year and month:
fmt.Println(time.ParseInLocation("2006-05", "2025-01", time.UTC))
What did you see happen?
The resulting time had a non-0 second, the output was:
2025-01-01 00:00:01 +0000 UTC
What did you expect to see?
A result with a 0 second:
2025-01-01 00:00:00 +0000 UTC
The text was updated successfully, but these errors were encountered: