Hacker News new | ask | show | jobs
by gepoch 1227 days ago
From the docs, the magic reference date:

01/02 03:04:05PM '06 -0700

So that's why it's in 2006, since you asked.

https://pkg.go.dev/time#pkg-constants

1 comments

It's still Imho one of the worst decisions Go did, it definitely not easier to read or reason about.
Yeah...

Just have to remember that the year comes before the time zone but after the seconds :clown:

No idea where that came from. Probably the time format from the punchcard machine at bell labs.

If it was iso 8601 based, it would almost make sense.