Fixed: Incorrect Kodi nfo date format (#2605)

Fixes #2582
pull/2/head
Qstick 6 years ago committed by Leonardo Galli
parent 56acf751c5
commit eeb5e94f06

@ -1,4 +1,4 @@
using System;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
@ -130,7 +130,7 @@ namespace NzbDrone.Core.Extras.Metadata.Consumers.Xbmc
if (movie.InCinemas.HasValue)
{
details.Add(new XElement("premiered", movie.InCinemas.Value.ToString()));
details.Add(new XElement("premiered", movie.InCinemas.Value.ToString("yyyy-MM-dd")));
}
foreach (var genre in movie.Genres)

Loading…
Cancel
Save