fenextjs-date
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -97,2 +97,7 @@ "use strict"; | ||
} | ||
const n = 7 - (DateByCalendar.length % 7); | ||
for (let i = 0; i < n; i++) { | ||
DateByCalendar.push(new Date(DATE.getTime())); | ||
DATE.setDate(DATE.getDate() + 1); | ||
} | ||
this.DateByCalendar = DateByCalendar; | ||
@@ -99,0 +104,0 @@ return DateByCalendar; |
{ | ||
"name": "fenextjs-date", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "./cjs/index.js", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
10338
140