teamdate

Crates.ioteamdate
lib.rsteamdate
version
sourcesrc
created_at2022-08-16 12:41:36.514982+00
updated_at2025-04-10 19:03:36.295377+00
descriptionHelps you keep track of time for team members across different time zones & DST changes
homepagehttps://github.com/alexsnaps/teamdate
repository
max_upload_size
id646621
Cargo.toml error:TOML parse error at line 17, column 1 | 17 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include`
size0
Alex Snaps (alexsnaps)

documentation

README

Teamdate

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!

crates.io

Usage

Current time for your team members

$ 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 ┃
┗━━━━━━━━━━━━━━━━━━━━━━━━━━┷━━━━━━━━━━━━━━━━━━┛

Some date by location

$ tdate -l Aug 28 3pm 
┏━━━━━━━━━━━━━━━━━━┯━━━━━━━━━━━━━━━━━━┓
┃     Location     │       Time       ┃
┠──────────────────┼──────────────────┨
┃ America/Montreal │ Sun Aug 28 15:00 ┃
┃    Europe/Dublin │ Sun Aug 28 20:00 ┃
┗━━━━━━━━━━━━━━━━━━┷━━━━━━━━━━━━━━━━━━┛

Some date based of offset

$ 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!

Full usage

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

Installation

Currently, this only works with cargo

Steps

$ cargo install teamdate

Provide a config

$ 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"
  • You can assign a default_team that'll be used when none is provided (see -t or --all).
  • You can specify how a date should be printed with date_format, see strftime default: "%a %b %d %H:%M"
  • For your teams, name is whatever you want, while location is a IANA location
Commit count: 0

cargo fmt