I tried parsing the date string \"2014-09-12T11:45:26.371Z\"
in Go.
Code
layout := \"2014-09-12T11:45:26.371Z\"
str :=
This is rather late to the party, and not really saying anything that hasn't been already said in one form or another, mostly through links above, but I wanted to give a TL;DR recap to those with less attention span:
The date and time of the go format string is very important. It's how Go knows which field is which. They are generally 1-9 left to right as follows:
So, Don't write "01-05-15" as your date format, unless you want "Month-Second-Hour"
(... again, this was basically a summary of above.)