forked from Ruderverein-Donau-Linz/rowt
show last day of year
This commit is contained in:
parent
7190e14c2f
commit
c59a2c3a29
@ -32,7 +32,7 @@ async fn index(db: &State<SqlitePool>, user: User, flash: Option<FlashMessage<'_
|
|||||||
.num_days();
|
.num_days();
|
||||||
}
|
}
|
||||||
|
|
||||||
for i in 0..show_next_n_days {
|
for i in 0..show_next_n_days + 1 {
|
||||||
let date = (Local::now() + Duration::days(i)).date_naive();
|
let date = (Local::now() + Duration::days(i)).date_naive();
|
||||||
days.push(Day::new(db, date).await);
|
days.push(Day::new(db, date).await);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user