everytime

Crates.ioeverytime
lib.rseverytime
version
sourcesrc
created_at2021-04-07 04:41:28.989814
updated_at2024-12-20 21:45:42.096508
descriptionet is a command line program to work with dates and times
homepage
repository
max_upload_size
id380223
Cargo.toml error:TOML parse error at line 18, column 1 | 18 | 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
Sab Natarajan (sabnatarajan)

documentation

README

Every Time

et is a command line program to work with dates and times

$ et now                 # prints current local time
2021-04-06 23:20:45.281102 -05:00

$ et now -e              # prints current Epoch time
1617769538

$ et now UTC             # prints current UTC time
2021-04-07 04:21:08.630195 UTC

$ et now Europe/London   # prints current time at a timezone
2021-04-07 04:21:08.630195 UTC

$ et parse 1617767254    # parses an epoch timestamp
2021-04-06T22:47:34-05:00

To-Do

  • Display the time across common timezones
  • Match timezones better (Letter-casing, city-only matching)
  • Handle micro/nano-seconds while parsing
  • Type 1 UUID parsing
Commit count: 0

cargo fmt