Commit Graph

3 Commits

Author SHA1 Message Date
Kyle Isom c3909b92f1 Improved time zone check.
Previously, the zone check compared time.Local and time.UTC. However,
when this was tested on a machine that uses UTC locally, it became
apparent that the two pointers can differ while having the same time
zone. A more useful check is to look up the offsets for the time zones
and compare those --- they'll return the same times.
2016-06-14 16:47:05 -07:00
Kyle Isom 57e31bfcf4 Updating docs, add a few new features to utc. 2016-06-14 15:22:38 -07:00
Kyle Isom a0e48cd55b Add utc for time -> UTC conversions. 2016-06-14 15:04:51 -07:00