mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-14 00:53:57 -07:00
Added ToBestDateString for DateTime, using on Series/Details.
This commit is contained in:
parent
5f0a95b2b1
commit
9271b39787
3 changed files with 20 additions and 1 deletions
|
@ -4,6 +4,7 @@ using System.IO;
|
|||
using System.Linq;
|
||||
using System.Web.Mvc;
|
||||
using MvcMiniProfiler;
|
||||
using NzbDrone.Core;
|
||||
using NzbDrone.Core.Helpers;
|
||||
using NzbDrone.Core.Providers;
|
||||
using NzbDrone.Core.Providers.Jobs;
|
||||
|
@ -199,7 +200,7 @@ namespace NzbDrone.Web.Controllers
|
|||
var airDate = String.Empty;
|
||||
|
||||
if (e.AirDate != null)
|
||||
airDate = e.AirDate.Value.ToShortDateString();
|
||||
airDate = e.AirDate.Value.ToBestDateString();
|
||||
|
||||
episodes.Add(new EpisodeModel
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue