Browse Source

update timestamp parse for plugins

dkanada 4 years ago
parent
commit
b18bb3d0de
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Emby.Server.Implementations/Plugins/PluginManager.cs

+ 1 - 1
Emby.Server.Implementations/Plugins/PluginManager.cs

@@ -372,7 +372,7 @@ namespace Emby.Server.Implementations.Plugins
                 Overview = packageInfo.Overview,
                 Owner = packageInfo.Owner,
                 TargetAbi = versionInfo.TargetAbi ?? string.Empty,
-                Timestamp = DateTime.Parse(versionInfo.Timestamp ?? string.Empty),
+                Timestamp = string.IsNullOrEmpty(versionInfo.Timestamp) ? DateTime.MinValue : DateTime.Parse(versionInfo.Timestamp),
                 Version = versionInfo.Version,
                 Status = PluginStatus.Active,
                 AutoUpdate = true,