Add a trivial function in core test

To ensure that we don't accidentaly not verify that chrono compiles for core.
This commit is contained in:
Brandon W Maister 2019-09-13 14:50:14 -04:00
parent 4027bbb66d
commit 5e1e2d5633
1 changed files with 6 additions and 0 deletions

View File

@ -1 +1,7 @@
#![no_std]
use chrono::{TimeZone, Utc};
pub fn create_time() {
let _ = Utc.ymd(2019, 1, 1).and_hms(0, 0, 0);
}