#date-time #et #command-line #times #now #local-time #timestamp

app everytime

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

6 releases (3 breaking)

0.4.2 May 28, 2024
0.4.1 May 28, 2024
0.3.0 May 28, 2024
0.2.0 May 28, 2024
0.1.0 Apr 7, 2021

#62 in Date and time

Download history 16/week @ 2024-03-29 7/week @ 2024-04-05 285/week @ 2024-05-24 44/week @ 2024-05-31 5/week @ 2024-06-07 1/week @ 2024-06-14

63 downloads per month

MIT license

8KB
148 lines

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

Dependencies

~2.7–4MB
~64K SLoC