mm_expand 1.6.7 → 1.6.8

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.
Files changed (2) hide show
  1. package/index.js +3 -2
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -1050,7 +1050,8 @@ if (typeof($) === "undefined") {
1050
1050
  var str = this;
1051
1051
  var time;
1052
1052
  if (str.indexOf('T') !== -1) {
1053
- str = this.replace('T', ' ').replaceAll('-', '/');
1053
+ // str = this.replace('T', ' ').replaceAll('-', '/');
1054
+ str = this.replace('T', ' ');
1054
1055
  if (str.indexOf('Z') !== -1) {
1055
1056
  str = str.replace('Z', '');
1056
1057
  time = (new Date(str)).addSeconds(28800);
@@ -1058,7 +1059,7 @@ if (typeof($) === "undefined") {
1058
1059
  time = new Date(str);
1059
1060
  }
1060
1061
  } else {
1061
- str = this.replaceAll('-', '/');
1062
+ // str = this.replaceAll('-', '/');
1062
1063
  time = new Date(str);
1063
1064
  }
1064
1065
  return time;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mm_expand",
3
- "version": "1.6.7",
3
+ "version": "1.6.8",
4
4
  "description": "这是超级美眉原型函数拓展模块,更有利于对string、array、object的操作,避免出错,简化业务逻辑。",
5
5
  "main": "index.js",
6
6
  "scripts": {