aboutsummaryrefslogtreecommitdiff
path: root/src/commands/today/wednesday.rs
diff options
context:
space:
mode:
authorNathan Perry <np@nathanperry.dev>2020-09-26 16:02:31 -0400
committerNathan Perry <np@nathanperry.dev>2020-09-26 16:02:31 -0400
commit23ce35dffe6b8b1fc6e5fd418db6a63922b20c86 (patch)
treeea814e4180030db5ad3571e4d2dfe40d9cab47a0 /src/commands/today/wednesday.rs
parentc12afcf2f06d2d477348952692bf4662ff9ce779 (diff)
switch to datetime
Diffstat (limited to 'src/commands/today/wednesday.rs')
-rw-r--r--src/commands/today/wednesday.rs2
1 files changed, 1 insertions, 1 deletions
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());
}