Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Radarr/commit/2f413c68d9ccfb6da53c8e21b072c9defb22e56a?style=unified&whitespace=show-all You should set ROOT_URL correctly, otherwise the web may not work correctly.

Fixed: Total runtime hours without decimal point

pull/10287/head
Bogdan 5 months ago committed by Qstick
parent 68c20713e5
commit 2f413c68d9

@ -55,9 +55,11 @@ namespace Radarr.Api.V3.MovieFiles
private static string FormatRuntime(TimeSpan runTime)
{
if (runTime.TotalHours > 0)
var hours = (int)runTime.TotalHours;
if (hours > 0)
{
return $"{runTime.TotalHours}:{runTime.Minutes:00}:{runTime.Seconds:00}";
return $"{hours}:{runTime.Minutes:00}:{runTime.Seconds:00}";
}
return $"{runTime.Minutes}:{runTime.Seconds:00}";

Loading…
Cancel
Save