Dates used for sorting will rely on EN-US standard, display will relay on user's culture.

This commit is contained in:
Mark McDowall 2012-02-14 10:48:13 -08:00
parent 02ecd0f958
commit baed29710e
5 changed files with 13 additions and 2 deletions

View file

@ -37,6 +37,7 @@ namespace NzbDrone.Web.Controllers
Quality = h.Quality.ToString(),
IsProper = h.IsProper,
Date = h.Date.ToString(),
DateSorter = h.Date.ToString("MM/dd/yyyy h:mm:ss tt"),
Indexer = h.Indexer,
EpisodeId = h.EpisodeId
}).OrderByDescending(h => h.Date).ToList();