fix oh yearly

main
Cizz22 2 weeks ago
parent 87408680d9
commit 7fb967fa94

@ -149,7 +149,7 @@ async def run_yearly_simulation(
{"sim_start": sim_start.date()}
)).mappings().first()
offset_hours = (365 * 24) // 2 if year % 2 == 0 else ((365 * 24) // 2) + 8760;
if last_overhaul:
last_oh_dt = date_to_utc(last_overhaul["end_date"])

Loading…
Cancel
Save