12 lines
154 B
Rust
12 lines
154 B
Rust
|
|
#![cfg(test)]
|
||
|
|
|
||
|
|
use chrono::{
|
||
|
|
Utc,
|
||
|
|
TimeZone,
|
||
|
|
DateTime
|
||
|
|
};
|
||
|
|
|
||
|
|
pub fn get_datetime() -> DateTime<Utc> {
|
||
|
|
Utc.with_ymd_and_hms(2020,1,1,0,0,0).unwrap()
|
||
|
|
}
|