synd-term 0.3.2

terminal feed viewer
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use chrono::{DateTime, Utc};

pub trait Clock {
    fn now(&self) -> DateTime<Utc>;
}

pub struct SystemClock;

impl Clock for SystemClock {
    fn now(&self) -> DateTime<Utc> {
        Utc::now()
    }
}