From 23ce35dffe6b8b1fc6e5fd418db6a63922b20c86 Mon Sep 17 00:00:00 2001 From: Nathan Perry Date: Sat, 26 Sep 2020 16:02:31 -0400 Subject: switch to datetime --- src/commands/today/prelude.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/commands/today/prelude.rs') diff --git a/src/commands/today/prelude.rs b/src/commands/today/prelude.rs index d0570fd..d5f470d 100644 --- a/src/commands/today/prelude.rs +++ b/src/commands/today/prelude.rs @@ -17,7 +17,7 @@ pub use super::{ #[inline] -pub fn month_day(date: chrono::NaiveDate) -> (u32, u32) { +pub fn month_day(date: chrono::NaiveDateTime) -> (u32, u32) { (date.month(), date.day()) } -- cgit v1.3.1