Merge remote-tracking branch 'remotes/origin/release/v7.0.0' into develop

# Conflicts:
#	Common/package.json
#	Common/sources/license.js
This commit is contained in:
Sergey Konovalov
2021-12-20 18:37:03 +03:00
20 changed files with 502 additions and 155 deletions

View File

@ -39,6 +39,8 @@ const oBuildDate = new Date(buildDate);
exports.readLicense = function*() {
const c_LR = constants.LICENSE_RESULT;
var now = new Date();
var startDate = new Date(Date.UTC(now.getUTCFullYear(), now.getUTCMonth(), 1));//first day of current month
return [{
count: 1,
type: c_LR.Success,
@ -53,6 +55,7 @@ exports.readLicense = function*() {
hasLicense: false,
plugins: false,
buildDate: oBuildDate,
startDate: startDate,
endDate: null,
customerId: ""
}, null];