2
0
Эх сурвалжийг харах

update timestamp parse for plugins

dkanada 4 жил өмнө
parent
commit
b18bb3d0de

+ 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,