mirror of
https://github.com/ONLYOFFICE/server.git
synced 2026-04-07 14:04:35 +08:00
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:
@ -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];
|
||||
|
||||
Reference in New Issue
Block a user