Hacker News new | ask | show | jobs
by HackerThemAll 19 days ago
The template string

"2006-01-02 15:04:05.999999999 -0700 MST"

says it all. It's a really bad joke or an excellent trolling.

The entire world have used:

%Y for the year. %m for the month. %d for the day. %H for the hour. %M for the minute. %S for the second.

for over 50 years, but Golang forces me to remember "06" for a year, "15" for an hour and "05" for second. and "MST", the Mountain View time, that particular time zone moniker, in a center of the universe, as a placeholder for a real time zone. Yes, the Mountain View, not UTC ("Z"ulu time) like a sane person would do (although nobody sane would implement that format).