tz

command module
v0.0.0-...-1b8c1f9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 4, 2019 License: MIT Imports: 14 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

tz - A simple CLI timezone visualizer.

Installation
go get "github.com/mmcquillan/tz"
Usage
tz list
tz [zones] [--date] [--24]

examples:
  tz UTC
  tz UTC,Local
  tz America/New_York
  tz America/New_York:Matt
  tz America/New_York:Matt:8:17
  tz UTC,America/New_York:Matt:8:17

Zone format is a comma delimited set of:

<timezone>[:name][:start time][:end time]

You can set zones in your home director ~/.tz:

- tz: "UTC"
- tz: "local"
  name: "Matt"
  start: 8
  end: 17
- tz: "America/Los_Angeles"
  name: "Jack"
  start: 8
  end: 17

You can also set via envrionment variables:

TZ_ZONES="UTC,America/New_York:Matt:8:17,America/Los_Angeles:Jack:8:17"

TZ_24=true

TZ_DATE=true

example

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址