update nfo savers

pull/702/head
Luke Pulverenti 9 years ago
parent c401761f91
commit 02398e7789

@ -48,7 +48,7 @@ namespace MediaBrowser.XbmcMetadata.Savers
{
var formatString = ConfigurationManager.GetNfoConfiguration().ReleaseDateFormat;
writer.WriteElementString("disbanded", artist.EndDate.Value.ToString(formatString));
writer.WriteElementString("disbanded", artist.EndDate.Value.ToLocalTime().ToString(formatString));
}
var albums = artist

@ -626,12 +626,12 @@ namespace MediaBrowser.XbmcMetadata.Savers
if (item is MusicArtist)
{
writer.WriteElementString("formed", item.PremiereDate.Value.ToString(formatString));
writer.WriteElementString("formed", item.PremiereDate.Value.ToLocalTime().ToString(formatString));
}
else
{
writer.WriteElementString("premiered", item.PremiereDate.Value.ToString(formatString));
writer.WriteElementString("releasedate", item.PremiereDate.Value.ToString(formatString));
writer.WriteElementString("premiered", item.PremiereDate.Value.ToLocalTime().ToString(formatString));
writer.WriteElementString("releasedate", item.PremiereDate.Value.ToLocalTime().ToString(formatString));
}
}
@ -641,7 +641,7 @@ namespace MediaBrowser.XbmcMetadata.Savers
{
var formatString = options.ReleaseDateFormat;
writer.WriteElementString("enddate", item.EndDate.Value.ToString(formatString));
writer.WriteElementString("enddate", item.EndDate.Value.ToLocalTime().ToString(formatString));
}
}

@ -62,7 +62,7 @@ namespace MediaBrowser.XbmcMetadata.Savers
{
var formatString = ConfigurationManager.GetNfoConfiguration().ReleaseDateFormat;
writer.WriteElementString("aired", episode.PremiereDate.Value.ToString(formatString));
writer.WriteElementString("aired", episode.PremiereDate.Value.ToLocalTime().ToString(formatString));
}
if (episode.AirsAfterSeasonNumber.HasValue)

Loading…
Cancel
Save