mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
New: Add runtime format option in Settings > UI so users can choose between a mins view and h/m view
This commit is contained in:
@@ -5,6 +5,7 @@ using System.Linq;
|
||||
using NLog;
|
||||
using NzbDrone.Common.EnsureThat;
|
||||
using NzbDrone.Common.Http.Proxy;
|
||||
using NzbDrone.Core.Configuration;
|
||||
using NzbDrone.Core.Configuration.Events;
|
||||
using NzbDrone.Core.Languages;
|
||||
using NzbDrone.Core.MediaFiles;
|
||||
@@ -336,6 +337,13 @@ namespace NzbDrone.Core.Configuration
|
||||
set { SetValue("CalendarWeekColumnHeader", value); }
|
||||
}
|
||||
|
||||
public MovieRuntimeFormatType MovieRuntimeFormat
|
||||
{
|
||||
get { return GetValueEnum("MovieRuntimeFormat", MovieRuntimeFormatType.HoursMinutes); }
|
||||
|
||||
set { SetValue("MovieRuntimeFormat", value); }
|
||||
}
|
||||
|
||||
public string ShortDateFormat
|
||||
{
|
||||
get { return GetValue("ShortDateFormat", "MMM D YYYY"); }
|
||||
|
Reference in New Issue
Block a user