mirror of
https://github.com/Sonarr/Sonarr
synced 2024-12-26 01:37:07 +00:00
Fix: Sorting on grids will now be ordered properly regardless of user's date format.
This commit is contained in:
parent
102ad8d3cf
commit
830eab57aa
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ namespace NzbDrone.Web.Controllers
|
|||
Overview = u.Overview,
|
||||
AirDateTime = GetDateTime(u.AirDate.Value, u.Series.AirTimes),
|
||||
AirDate = u.AirDate.Value.ToBestDateString(),
|
||||
AirTime = String.IsNullOrEmpty(u.Series.AirTimes) ? "?" : Convert.ToDateTime(u.Series.AirTimes).ToString("MM/dd/yyyy"),
|
||||
AirTime = String.IsNullOrEmpty(u.Series.AirTimes) ? "?" : Convert.ToDateTime(u.Series.AirTimes).ToShortTimeString(),
|
||||
Status = u.Status.ToString()
|
||||
}).OrderBy(e => e.AirDateTime).ToList();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue