diff --git a/XenAdmin/TabPages/GeneralTabPage.cs b/XenAdmin/TabPages/GeneralTabPage.cs index 8bff9e00f..a499f593f 100644 --- a/XenAdmin/TabPages/GeneralTabPage.cs +++ b/XenAdmin/TabPages/GeneralTabPage.cs @@ -1024,7 +1024,7 @@ namespace XenAdmin.TabPages if (host.software_version.ContainsKey("dbv")) pdSectionVersion.AddEntry("DBV", host.software_version["dbv"]); - if (Helpers.Post82X(host) && Helpers.XapiEqualOrGreater_22_19_0(host) && + if (Helpers.Post82X(host) && Helpers.XapiEqualOrGreater_22_20_0(host) && host.last_software_update > softwareVersionDate && host.last_software_update > unixMinDateTime) pdSectionVersion.AddEntry(Messages.SOFTWARE_VERSION_LAST_UPDATED, HelpersGUI.DateTimeToString(host.last_software_update.ToLocalTime(), Messages.DATEFORMAT_DMY_HMS, true)); diff --git a/XenModel/Utils/Helpers.Versions.cs b/XenModel/Utils/Helpers.Versions.cs index e0a8f7004..43ac85aef 100644 --- a/XenModel/Utils/Helpers.Versions.cs +++ b/XenModel/Utils/Helpers.Versions.cs @@ -434,9 +434,9 @@ namespace XenAdmin.Core return coordinator == null || ProductVersionCompare(coordinator.GetXapiVersion(), "22.19.0") >= 0; } - public static bool XapiEqualOrGreater_22_19_0(Host host) + public static bool XapiEqualOrGreater_22_20_0(Host host) { - return host == null || ProductVersionCompare(host.GetXapiVersion(), "22.19.0") >= 0; + return host == null || ProductVersionCompare(host.GetXapiVersion(), "22.20.0") >= 0; } #endregion