This is a rewrite of the since bash script into rust. First draft, kinda bad, made on an airplane without wifi.
Find a file
Christina Sørensen 0848872af8
fix: flake crate hash
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2024-05-07 08:14:25 +02:00
src chore: initial commit 2024-05-07 07:13:24 +02:00
.gitignore chore: initial commit 2024-05-07 07:13:24 +02:00
Cargo.lock chore: initial commit 2024-05-07 07:13:24 +02:00
Cargo.toml chore: initial commit 2024-05-07 07:13:24 +02:00
flake.lock chore: initial commit 2024-05-07 07:13:24 +02:00
flake.nix fix: flake crate hash 2024-05-07 08:14:25 +02:00
LICENSE.txt chore: initial commit 2024-05-07 07:13:24 +02:00
README.md docs: add README.md 2024-05-07 07:16:03 +02:00

since - calcuate time since rfc3339 timestamp

This is a rewrite of the since bash script into rust. First draft, kinda bad, made on an airplane without wifi.

usage

For now, only entry as rfc3339 timestamp is supported.

cargo run -- "2014-11-28T12:00:09Z"