tools-min-ns 1.9.8 → 1.9.9

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/README.md CHANGED
@@ -5,6 +5,10 @@ cnpm i tools-min-ns --save
5
5
  ```
6
6
 
7
7
  # updates
8
+ ## v1.9.9
9
+
10
+ > DateUtil getDatesOfMonth日期错误bug修复
11
+
8
12
  ## v1.9.8
9
13
 
10
14
  > PasswordUtil aes加解密使用URL编码和解码
@@ -743,7 +743,7 @@ var DateUtil;
743
743
  // 将日期格式化为字符串并添加到数组中
744
744
  dates.push(DateUtil.formatDate(date, format));
745
745
  // 日期加一天
746
- date.setDate(date.getDate() + 2);
746
+ date.setDate(date.getDate() + 1);
747
747
  }
748
748
  return dates;
749
749
  }
@@ -753,7 +753,7 @@ var DateUtil;
753
753
  // 将日期格式化为字符串并添加到数组中
754
754
  dates.push(DateUtil.formatDate(date, format));
755
755
  // 日期加一天
756
- date.setDate(date.getDate() + 2);
756
+ date.setDate(date.getDate() + 1);
757
757
  }
758
758
  return dates;
759
759
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "tools-min-ns",
3
3
  "description": "工具包适用于前端以及node",
4
- "version": "1.9.8",
4
+ "version": "1.9.9",
5
5
  "main": "lib/index.js",
6
6
  "license": "MIT",
7
7
  "author": "nanshen",