#string #text #wrapper #friendly

easystring

EasyString: friendly string and text wrapper

1 unstable release

Uses old Rust 2015

0.0.0 Jul 25, 2016

#87 in #friendly

MIT/Apache

5KB

Chrono Humanize - Make your text time representation human appealing

Build status

branch status
master Build Status
develop Build Status

Quick Start

use chrono::{Local, Duration};
use chrono_humanize::HumanTime;

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

No runtime deps