4 ms·
I just didn't "get it" as I had no idea what it meant by a reference time. Normally a time is formatted like %Y-%m-%d and so on, these examples look nothing lik
by rquirk 13y ago
I just didn't "get it" as I had no idea what it meant by a reference time. Normally a time is formatted like %Y-%m-%d and so on, these examples look nothing like that so I had no idea that 2006 is how they spell %Y, 01 is %m, 02 is %d, etc. If you have grown up with strptime and friends, the Go version and documentation makes literally no sense. Then it suddenly clicks ("ah! they do that?!") and it is perfectly obvious.