Change smoothing to 3 weeks
This commit is contained in:
parent
bb13d718aa
commit
09987b8630
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user