Change format delay to always zero-pad number of hours.

Resolves #338
This commit is contained in:
danielhodder committed 2026-08-09 05:29:02 +00:00
1 parent 89fea83c80
commit d6534c788a
2 files changed
+3 -3

No files matched your search

@@ -75,7 +75,7 @@ def _delay_hours(v):
def _format_delay(hours):
total_minutes = round(max(float(hours), 0) * 60)
h, m = divmod(total_minutes, 60)
return f"{h}:{m:02d}:00"
return f"{h:02d}:{m:02d}:00"
def _delay_field(rep):