diff --git a/docs/8.0/ayanova/docs/changelog.md b/docs/8.0/ayanova/docs/changelog.md index ad062359..852b1ebe 100644 --- a/docs/8.0/ayanova/docs/changelog.md +++ b/docs/8.0/ayanova/docs/changelog.md @@ -10,8 +10,12 @@ The most recent changes are written in the AyaNova manual [hosted on our website #### Fixed -- Server: expiration date of license and maintenance incorrectly stated "(utc)" time in log but is actually server local time +- Server: expiration date of license and maintenance incorrectly stated "(utc)" time in log but is actually server local time +- UI: Evaluation license request page now properly shows that the company name and other details are _required_ and disables request button until filled in +#### Changed + +- UI: Administration -> License page now has time in addition to date for license and maintenance expiration values ### AyaNova 8.0.17 (2022-10-12) diff --git a/server/AyaNova/util/License.cs b/server/AyaNova/util/License.cs index 4f842755..bb221a48 100644 --- a/server/AyaNova/util/License.cs +++ b/server/AyaNova/util/License.cs @@ -243,7 +243,8 @@ namespace AyaNova.Core { get { - return LicenseExpiration < DateTime.Now; + //Note: key is already UTC and should parse into datetime kind UTC but this is insurance in case rockfish changes as has no effect on a UTC kind of datetime + return LicenseExpiration.ToUniversalTime() < DateTime.UtcNow; } } @@ -251,7 +252,8 @@ namespace AyaNova.Core { get { - return MaintenanceExpiration < DateTime.Now; + //Note: key is already UTC and should parse into datetime kind UTC but this is insurance in case rockfish changes as has no effect on a UTC kind of datetime + return MaintenanceExpiration.ToUniversalTime() < DateTime.UtcNow; } }