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
The time package uses the Gregorian calendar, not the Julian calendar. January 3rd, 1010 in the Gregorian calendar translates to (via extrapolation) December 28th, 1009 in the Julian calendar[1][2], which was indeed a Wednesday. That's also what your Google search is telling you.
Since the time package clearly states that it uses (only) the Gregorian calendar I don't think that there's anything to do here.
What version of Go are you using (
go version
)?Go 1.9.2 linux/amd64
Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?What did you do?
https://play.golang.org/p/Iv3m-4cuqUr
What did you expect to see?
I expect to see that the 3rd Januray of 1010 year is Tuesday.
http://henry.pha.jhu.edu/calendarDir/julianDir/julianHTML/1010.html
output from cal program is also showing Tuesday:
What did you see instead?
I see Wednesday.
The text was updated successfully, but these errors were encountered: