jiffy

Crates.iojiffy
lib.rsjiffy
version0.1.1
sourcesrc
created_at2024-08-07 23:36:54.905319
updated_at2024-08-07 23:36:54.905319
descriptionHuman-friendly time expressions
homepagehttps://github.com/azzamsa/jiffy
repositoryhttps://github.com/azzamsa/jiffy-rs
max_upload_size
id1328902
size81,401
Azzam S.A (azzamsa)

documentation

https://docs.rs/jiffy

README

Jiff Humanize

Quick Start

use jiff::{Local, Duration};
use jiffy::HumanTime;

let dt = jiff::Zoned::now() + Duration::days(35);
let ht = HumanTime::from(dt);
let english = format!("{}", ht);
assert_eq!("in a month", english);
Commit count: 0

cargo fmt