aboutsummaryrefslogtreecommitdiff
path: root/src/commands/today/sept_21.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/today/sept_21.rs')
-rw-r--r--src/commands/today/sept_21.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commands/today/sept_21.rs b/src/commands/today/sept_21.rs
index 06689e8..f01e7bd 100644
--- a/src/commands/today/sept_21.rs
+++ b/src/commands/today/sept_21.rs
@@ -32,8 +32,8 @@ lazy_static! {
];
}
-pub fn sept_21(date: chrono::NaiveDate) -> TodayIter {
- if (9, 21) != (date.month(), date.day()) {
+pub fn sept_21(date: chrono::NaiveDateTime) -> TodayIter {
+ if (9, 21) != month_day(date) {
return Box::new(empty());
}