channel 0.2.1

Rust advanced queue library
Documentation
1
2
3
4
5
6
7
8
9
10
11
use chrono::NaiveDateTime;

pub trait NaiveDateTimeExt {
    fn now() -> Self;
}

impl NaiveDateTimeExt for NaiveDateTime {
    fn now() -> Self {
        chrono::Utc::now().naive_local()
    }
}