mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-16 10:03:51 -07:00
DateTime.ToString fixes for other countries
Fixed: Aired Date sorting on Missing
This commit is contained in:
parent
7bdc10c370
commit
feaf63c758
6 changed files with 10 additions and 8 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue