aboutsummaryrefslogtreecommitdiff
path: root/src/commands/today/prelude.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/prelude.rs
parentc12afcf2f06d2d477348952692bf4662ff9ce779 (diff)
switch to datetime
Diffstat (limited to 'src/commands/today/prelude.rs')
-rw-r--r--src/commands/today/prelude.rs2
1 files changed, 1 insertions, 1 deletions
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())
}