about summary refs log tree commit diff
path: root/src/ui/report.rs
diff options
context:
space:
mode:
authorRicky Kresslein <rk@lakoliu.com>2023-06-04 18:10:13 +0200
committerRicky Kresslein <rk@lakoliu.com>2023-06-04 18:10:13 +0200
commit33e2dd80ab0b123406aae0e7d1c6e7e82bc67ea3 (patch)
treeadb24e31c7c25fdaf744b45e53ac62dc42642860 /src/ui/report.rs
parentc7d283c483a24bccc501a8a66cfd2a60b43ffb0f (diff)
downloadFurtherance-33e2dd80ab0b123406aae0e7d1c6e7e82bc67ea3.tar.zst
Replace Local::today() (deprecated)
Diffstat (limited to 'src/ui/report.rs')
-rw-r--r--src/ui/report.rs2
1 files changed, 1 insertions, 1 deletions
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<Local>;
         let mut range_end_date = today;
         if active_range == "this_week_item" {