jiffy 0.1.1

Human-friendly time expressions
Documentation
  • Coverage
  • 66.67%
    8 out of 12 items documented1 out of 3 items with examples
  • Size
  • Source code size: 80.87 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 2.58 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • Homepage
  • Repository
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • azzamsa

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);