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.
- package/index.js +3 -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;
|