diff --git a/README.md b/README.md index 97cad41..e15e22b 100644 --- a/README.md +++ b/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 `` and `` 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" ```