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/wednesday.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/commands/today/wednesday.rs') diff --git a/src/commands/today/wednesday.rs b/src/commands/today/wednesday.rs index 8fec707..0748a0b 100644 --- a/src/commands/today/wednesday.rs +++ b/src/commands/today/wednesday.rs @@ -1,6 +1,6 @@ use super::prelude::*; -pub fn wednesday(date: chrono::NaiveDate) -> TodayIter { +pub fn wednesday(date: chrono::NaiveDateTime) -> TodayIter { if date.weekday() != chrono::Weekday::Wed { return Box::new(empty()); } -- cgit v1.3.1