1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-04 10:02:40 +01:00

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

View File

@ -1,4 +1,4 @@
using System;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
@ -130,7 +130,7 @@ public override MetadataFileResult MovieMetadata(Movie movie, MovieFile movieFil
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)