1 unstable release

0.1.0 Nov 15, 2022

#579 in Date and time

MIT license

8KB
59 lines

#[cfg(test)]
mod tests {
    use chrono::{Duration, Local};
    use super::*;

    #[test]
    fn it_works() {
        let a: DateTime<Local> = Local::now();
        println!("{}", rand_time(a.sub(Duration::days(180)),a));
        println!("{}", rand_id_no(a));
        println!("{}", rand_phone());
        println!("{}",rand_name());
    }
}

Dependencies

~1.5MB
~23K SLoC