Hacker News new | ask | show | jobs
by Leotard6963 1267 days ago
afaik, the `time` package [1] from the golang standard library has a brilliant support for (almost) everything about time, including timezone, leap year, months, duration.

take timezone for example, time.Time.In [2] could be a good startpoint to learn how they do the conversion.

[1]: https://github.com/golang/go/tree/master/src/time [2]: https://github.com/golang/go/blob/38cfb3be9d4868334562767771...