1 unstable release
0.1.0 | Apr 7, 2021 |
---|
#10 in #et
23 downloads per month
5KB
55 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
- Handle micro/nano-seconds while parsing
Dependencies
~4.5MB
~74K SLoC