about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ui/report.rs6
-rwxr-xr-xsrc/ui/window.rs1
2 files changed, 4 insertions, 3 deletions
diff --git a/src/ui/report.rs b/src/ui/report.rs
index c91806d..c7c1a75 100644
--- a/src/ui/report.rs
+++ b/src/ui/report.rs
@@ -190,11 +190,11 @@ impl FurReport {
             let days_ago = today.day() - 1;
             range_start_date = today - Duration::days(days_ago.into());
         } else if active_range == "30_days_item" {
-            range_start_date = today - Duration::days(30);
+            range_start_date = today - Duration::days(29);
         } else if active_range == "six_months_item" {
-            range_start_date = today - Duration::days(180);
+            range_start_date = today - Duration::days(179);
         } else if active_range == "year_item" {
-            range_start_date = today - Duration::days(365);
+            range_start_date = today - Duration::days(364);
         } else {
             let input_start_date =
                 NaiveDate::parse_from_str(&imp.start_date_entry.text(), "%m/%d/%Y");
diff --git a/src/ui/window.rs b/src/ui/window.rs
index 7163195..bed1931 100755
--- a/src/ui/window.rs
+++ b/src/ui/window.rs
@@ -926,3 +926,4 @@ impl Default for FurtheranceWindow {
             .unwrap()
     }
 }
+