docs: add more usage to readme
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
This commit is contained in:
parent
1d8eb97e2a
commit
863ab051e5
1 changed files with 7 additions and 5 deletions
12
README.md
12
README.md
|
@ -1,12 +1,14 @@
|
|||
# since - calcuate time since rfc3339 timestamp
|
||||
# since - calcuate time since
|
||||
|
||||
This is a rewrite of the `since` bash script into rust. First draft, kinda bad,
|
||||
made on an airplane without wifi.
|
||||
This is a rewrite of the `since` bash script into rust.
|
||||
|
||||
### usage
|
||||
|
||||
For now, only entry as rfc3339 timestamp is supported.
|
||||
Enter a timestamp in `<hh:mm:ss>` and `<yyyy-mm-dd hh:mm:ss>` as well as RFC 3339
|
||||
timestamp.
|
||||
|
||||
```bash
|
||||
cargo run -- "2014-11-28T12:00:09Z"
|
||||
since "2014-11-28T12:00:09Z"
|
||||
since "2014-11-28 12:00:09"
|
||||
since "12:00:09"
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue