mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-27 22:56:45 -04:00
DateTime.ToString fixes for other countries
Fixed: Aired Date sorting on Missing
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Globalization;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.Mvc;
|
||||
@@ -34,8 +35,8 @@ namespace NzbDrone.Web.Controllers
|
||||
Overview = e.Overview,
|
||||
SeriesTitle = e.Series.Title,
|
||||
SeriesTitleSorter = SortHelper.SkipArticles(e.Series.Title),
|
||||
AirDate = e.AirDate.Value.ToString("MM/dd/yyyy"),
|
||||
AirDateString = e.AirDate.Value.ToBestDateString()
|
||||
AirDateSorter = e.AirDate.Value.ToString("o", CultureInfo.InvariantCulture),
|
||||
AirDate = e.AirDate.Value.ToBestDateString()
|
||||
});
|
||||
|
||||
JsConfig.IncludeNullValues = true;
|
||||
|
||||
Reference in New Issue
Block a user