This commit is contained in:
draxaris1010 2024-12-06 13:12:15 +01:00
parent 52f76dad12
commit 7e18e78e69

View file

@ -160,9 +160,7 @@ fn (mut app App) get_ppu() !f64 {
} }
fn (mut app App) get_mean_time_between_pannenkoeken() !time.Duration { fn (mut app App) get_mean_time_between_pannenkoeken() !time.Duration {
time_zero := time.Time{ time_zero := time.unix(0)
unix: 0
}
mut people := sql app.db { mut people := sql app.db {
select from Person where (status == 3 && delivery_time > time_zero) order by delivery_time desc limit 10 select from Person where (status == 3 && delivery_time > time_zero) order by delivery_time desc limit 10
}! }!