From 33e2dd80ab0b123406aae0e7d1c6e7e82bc67ea3 Mon Sep 17 00:00:00 2001 From: Ricky Kresslein Date: Sun, 4 Jun 2023 18:10:13 +0200 Subject: Replace Local::today() (deprecated) --- src/ui/report.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/report.rs b/src/ui/report.rs index 6bc35d0..998012f 100644 --- a/src/ui/report.rs +++ b/src/ui/report.rs @@ -183,7 +183,7 @@ impl FurReport { // Get date range let active_range = imp.range_combo.active_id().unwrap(); - let today = Local::today(); + let today = Local::now().date(); let range_start_date: Date; let mut range_end_date = today; if active_range == "this_week_item" { -- cgit 1.4.1