qx_rs_time 0.0.0

quick time util in rust.
Documentation
use qx_rs_err::err::*;
use qx_rs_time::time;

use chrono::{DateTime, Utc};

#[test]
fn test() -> Result<()> {

    let now = time::now();

    fn log(time: DateTime<Utc>) -> String {
        time::format(time, time::Pattern::Standard, 8)
    }

    println!("{}", log(now));
    println!("{}", log(time::add_secs(now, 3600)));

    Ok(())
}