Crates.io | teamdate |
lib.rs | teamdate |
version | 0.2.0 |
source | src |
created_at | 2022-08-16 12:41:36.514982 |
updated_at | 2024-08-20 13:35:37.752508 |
description | Helps you keep track of time for team members across different time zones & DST changes |
homepage | https://github.com/alexsnaps/teamdate |
repository | |
max_upload_size | |
id | 646621 |
size | 72,090 |
Helps you keep track of time for team members across different timezones and other daylight saving changes based off their location. Because I know I can't do it!
$ tdate
┏━━━━━━━━━━━━━━━━━━━━━━━━━━┯━━━━━━━━━━━━━━━━━━┓
┃ Team wcgw │ Time ┃
┠──────────────────────────┼──────────────────┨
┃ Alex (America/Montreal) │ Mon Aug 15 21:18 ┃
┃ Jane Doe (Europe/Dublin) │ Tue Aug 16 02:18 ┃
┃ John Doe (Europe/Dublin) │ Tue Aug 16 02:18 ┃
┗━━━━━━━━━━━━━━━━━━━━━━━━━━┷━━━━━━━━━━━━━━━━━━┛
$ tdate -l Aug 28 3pm
┏━━━━━━━━━━━━━━━━━━┯━━━━━━━━━━━━━━━━━━┓
┃ Location │ Time ┃
┠──────────────────┼──────────────────┨
┃ America/Montreal │ Sun Aug 28 15:00 ┃
┃ Europe/Dublin │ Sun Aug 28 20:00 ┃
┗━━━━━━━━━━━━━━━━━━┷━━━━━━━━━━━━━━━━━━┛
$ tdate 3 weeks 10:30am
┏━━━━━━━━━━━━━━━━━━━━━━━━━━┯━━━━━━━━━━━━━━━━━━┓
┃ Team wcgw │ Time ┃
┠──────────────────────────┼──────────────────┨
┃ Alex (America/Montreal) │ Mon Sep 05 10:30 ┃
┃ Jane Doe (Europe/Dublin) │ Mon Sep 05 15:30 ┃
┃ John Doe (Europe/Dublin) │ Mon Sep 05 15:30 ┃
┗━━━━━━━━━━━━━━━━━━━━━━━━━━┷━━━━━━━━━━━━━━━━━━┛
Or try tomorrow 3pm
or next Monday 2pm
or … try it out!
teamdate v0.1.0
Alex Snaps <alex@wcgw.dev>
Tracking team mates across timezones
USAGE:
tdate [OPTIONS] [DATE]...
ARGS:
<DATE>... Date to parse [default: now]
OPTIONS:
-t, --team <TEAM> Print specific team
--all Print all teams
-l, --by-location Group by locations
-c, --config <CONFIG> The config file to use [default:
/Users/alexsnaps/.config/teamdate/teams.toml]
-h, --help Print help information
-V, --version Print version information
Currently, this only works with cargo
$ cargo install teamdate
$ cat ~/.config/teamdate/teams.toml
default_team = "wcgw"
date_format = "%c"
[[teams.wcgw]]
name = "Alex"
location = "America/Montreal"
[[teams.wcgw]]
name = "Jane Doe"
location = "Europe/Dublin"
[[teams.wcgw]]
name = "John Doe"
location = "Europe/Dublin"
[[teams.managers]]
name = "John Doe"
location = "Europe/Dublin"
default_team
that'll be used when none is provided (see -t
or --all
).date_format
, see strftime default: "%a %b %d %H:%M"
name
is whatever you want, while location
is a IANA location