mirror of
				https://github.com/janeczku/calibre-web
				synced 2025-10-29 14:27:41 +00:00 
			
		
		
		
	Fix for #2545 (Max task duration double entry "1hour")
This commit is contained in:
		| @@ -1310,7 +1310,7 @@ def edit_scheduledtasks(): | |||||||
|         time_field.append((n, format_time(datetime_time(hour=n), format="short",))) |         time_field.append((n, format_time(datetime_time(hour=n), format="short",))) | ||||||
|     for n in range(5, 65, 5): |     for n in range(5, 65, 5): | ||||||
|         t = timedelta(hours=n // 60, minutes=n % 60) |         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", |     return render_title_template("schedule_edit.html", | ||||||
|                                  config=content, |                                  config=content, | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Ozzie Isaacs
					Ozzie Isaacs