Fix for #2545 (Max task duration double entry "1hour")

pull/2549/head
Ozzie Isaacs 2 years ago
parent 9fa56a2323
commit b4851e1d70

@ -1310,7 +1310,7 @@ def edit_scheduledtasks():
time_field.append((n, format_time(datetime_time(hour=n), format="short",)))
for n in range(5, 65, 5):
t = timedelta(hours=n // 60, minutes=n % 60)
duration_field.append((n, format_timedelta(t, threshold=.9)))
duration_field.append((n, format_timedelta(t, threshold=.97)))
return render_title_template("schedule_edit.html",
config=content,

Loading…
Cancel
Save