A script to keep track of time for a globally distributed team.
teamTime is a tool to aid the problem of keeping track of time for a globaly distributed team.
You will need to put the name of your teammates in staff.csv using the format name, timezone, city. Take a look at https://raw.githubusercontent.com/joemcmanus/teamTime/master/example.csv
Alice,US/Eastern,New York New York
Bob,US/Central,Chicago Illinois
Charlie,Africa/Abidjan, Abidjan
Doug,America/Tijuana, Tijuana Mexico
Ed,America/Winnipeg, Winnipeg
Frank,Asia/Dubai,Dubai
To use the snap run
teamtime --src=/path/to/your/csv/file
To avoid having to specify the path to the file use an alias.
alias teamtime='teamtime --src=/home/foo/staff.csv'
To search for just one person use the option --name=
teamtime --name=bob
+--------+------------------+
| Person | Local Time |
+--------+------------------+
| Bob | 2019-10-02 15:56 |
+--------+------------------+
To convert a local time to another time in a person's time zone use --comp. This helps when you are trying to figure out when to schedule a call for example.
$ teamtime --name=andy --comp=15:00
+--------+------------------+---------------------+
| Person | Their Time | Your Time |
+--------+------------------+---------------------+
| Andy | 2019-10-18 07:30 | 2019-10-17 15:00:00 |
+--------+------------------+---------------------+