diff options
author | Ricky Kresslein <rk@lakoliu.com> | 2023-06-04 18:10:13 +0200 |
---|---|---|
committer | Ricky Kresslein <rk@lakoliu.com> | 2023-06-04 18:10:13 +0200 |
commit | 33e2dd80ab0b123406aae0e7d1c6e7e82bc67ea3 (patch) | |
tree | adb24e31c7c25fdaf744b45e53ac62dc42642860 /src/ui | |
parent | c7d283c483a24bccc501a8a66cfd2a60b43ffb0f (diff) | |
download | Furtherance-33e2dd80ab0b123406aae0e7d1c6e7e82bc67ea3.tar.zst |
Replace Local::today() (deprecated)
Diffstat (limited to 'src/ui')
-rw-r--r-- | src/ui/report.rs | 2 |
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" { |