diff options
| author | Nathan Perry <np@nathanperry.dev> | 2020-09-26 16:02:31 -0400 |
|---|---|---|
| committer | Nathan Perry <np@nathanperry.dev> | 2020-09-26 16:02:31 -0400 |
| commit | 23ce35dffe6b8b1fc6e5fd418db6a63922b20c86 (patch) | |
| tree | ea814e4180030db5ad3571e4d2dfe40d9cab47a0 /src/commands/today/prelude.rs | |
| parent | c12afcf2f06d2d477348952692bf4662ff9ce779 (diff) | |
switch to datetime
Diffstat (limited to 'src/commands/today/prelude.rs')
| -rw-r--r-- | src/commands/today/prelude.rs | 2 |
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()) } |
