gis-common 2.2.5 → 2.2.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/resource.min.js +3 -0
- package/package.json +1 -1
package/dist/resource.min.js
CHANGED
|
@@ -1033,6 +1033,9 @@ Date.prototype.addDate = function (interval, number) {
|
|
|
1033
1033
|
lastMonthDate: new Date(new Date().getFullYear(), new Date().getMonth() - 1, 1),
|
|
1034
1034
|
thisMonthDate: new Date(new Date().getFullYear(), new Date().getMonth(), 1),
|
|
1035
1035
|
nextMonthDate: new Date(new Date().getFullYear(), new Date().getMonth() + 1, 1),
|
|
1036
|
+
lastWeekDate: new Date(new Date().getFullYear(), new Date().getMonth(), new Date().getDate() + 1 - 7 - new Date().getDay()),
|
|
1037
|
+
thisWeekDate: new Date(new Date().getFullYear(), new Date().getMonth(), new Date().getDate() + 1 - new Date().getDay()),
|
|
1038
|
+
nextWeekDate: new Date(new Date().getFullYear(), new Date().getMonth(), new Date().getDate() + 1 + 7 - new Date().getDay()),
|
|
1036
1039
|
lastDayDate: new Date(new Date().getFullYear(), new Date().getMonth(), new Date().getDate() - 1),
|
|
1037
1040
|
thisDayDate: new Date(new Date().setHours(0, 0, 0, 0)),
|
|
1038
1041
|
nextDayDate: new Date(new Date().getFullYear(), new Date().getMonth(), new Date().getDate() + 1),
|