Fixed: Incorrect Kodi nfo date format (#2605)

Fixes #2582
This commit is contained in:
Qstick 2018-03-05 04:07:26 -05:00 committed by Leonardo Galli
parent 56acf751c5
commit eeb5e94f06
1 changed files with 2 additions and 2 deletions

View File

@ -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)