update nfo savers

This commit is contained in:
Luke Pulverenti 2016-01-27 13:08:55 -05:00
parent c401761f91
commit 02398e7789
3 changed files with 6 additions and 6 deletions

View File

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

View File

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

View File

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