@pisell/pisellos 3.0.31 → 3.0.32

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.
@@ -143,7 +143,7 @@ var getDaysByRepeatWeek = function getDaysByRepeatWeek(params, isGetRange) {
143
143
  var _end = _start.add(scheduleDiff, 'second');
144
144
  if (isGetRange) {
145
145
  if (excludedDaysMap.has(_start.format('YYYY-MM-DD'))) {
146
- startTmp = startTmp.day(1).add(frequency, 'week');
146
+ startTmp = startTmp.day(1).add(frequency, 'day');
147
147
  continue;
148
148
  }
149
149
  var arr = getDataRange({
@@ -143,7 +143,7 @@ var getDaysByRepeatWeek = (params, isGetRange) => {
143
143
  const _end = _start.add(scheduleDiff, "second");
144
144
  if (isGetRange) {
145
145
  if (excludedDaysMap.has(_start.format("YYYY-MM-DD"))) {
146
- startTmp = startTmp.day(1).add(frequency, "week");
146
+ startTmp = startTmp.day(1).add(frequency, "day");
147
147
  continue;
148
148
  }
149
149
  const arr = getDataRange({
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "private": false,
3
3
  "name": "@pisell/pisellos",
4
- "version": "3.0.31",
4
+ "version": "3.0.32",
5
5
  "description": "一个可扩展的前端模块化SDK框架,支持插件系统",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",