Commit Graph

9 Commits

Author SHA1 Message Date
Kyle Isom d66cfe1145 Cut over to Bazel. 2023-05-04 14:00:30 -07:00
Kyle Isom 4122f01644 Fix travis errors. 2017-11-21 12:42:53 -08:00
Kyle Isom 0ab21e12f3 Reformat cmd/utc/main.go. 2017-11-16 08:32:42 -08:00
Kyle Isom cb16cfa183 golint cleanups. 2017-11-16 08:32:05 -08:00
Kyle Isom ce9604b4e1 Add support for Unix timestamps. 2016-06-15 22:05:58 -07:00
Kyle Isom 58e8465947 Usability fixes.
+ Show timezones in output to better distingush times.
+ Update README/usage examples.
+ The -h flag only prints the shorter usage message (which is
  more likely to fit on a single page).
+ A new 'help' argument displays the full help message.
2016-06-15 18:24:41 -07:00
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