diff --git a/server/src/math/calculations.rs b/server/src/math/calculations.rs index e580f02..5cbb5b7 100644 --- a/server/src/math/calculations.rs +++ b/server/src/math/calculations.rs @@ -10,7 +10,7 @@ use time::Date; use time::*; const MEALS_PER_DAY: f32 = 2.3; -const SMOOTHING_DAYS: usize = 14; +const SMOOTHING_DAYS: usize = 21; fn time_date_to_chrono_naive_date(d: Date) -> chrono::NaiveDate { chrono::NaiveDate::from_ymd_opt(d.year(), d.month() as u32, d.day() as u32).unwrap()