aboutsummaryrefslogtreecommitdiff
path: root/src/commands/today/halloween.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/halloween.rs
parentc12afcf2f06d2d477348952692bf4662ff9ce779 (diff)
switch to datetime
Diffstat (limited to 'src/commands/today/halloween.rs')
-rw-r--r--src/commands/today/halloween.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/today/halloween.rs b/src/commands/today/halloween.rs
index 847da8e..3fb1c18 100644
--- a/src/commands/today/halloween.rs
+++ b/src/commands/today/halloween.rs
@@ -9,7 +9,7 @@ lazy_static! {
];
}
-pub fn halloween(date: chrono::NaiveDate) -> TodayIter {
+pub fn halloween(date: chrono::NaiveDateTime) -> TodayIter {
if (10, 31) != month_day(date) {
return Box::new(empty());
}