simple_form_datetimepicker 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 54a4c93b53073c21437a4ceb983bf1d6c3317bc5
|
4
|
+
data.tar.gz: d0c1760fb1292998ad886c2138de0706db5bd27d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b15d8a380260774a9261a17aa6037e067a3a4291fd4b88a0dc84bbcfbca475792e8eed842b1df59598d6f8aea4fc3656a32088b0306d43d71e62d2e4d7dac1d7
|
7
|
+
data.tar.gz: a7391741dc85806d18ba46097afc621bebe77ce1814a95213b99e4065a3099a4d3892ee650fc7a9a8abf74fb5b5091ed159e02bc485f6df3f3b51ea7d223f610
|
@@ -1189,7 +1189,7 @@
|
|
1189
1189
|
timestamp = timestamp.slice(1, timestamp.length - 1);
|
1190
1190
|
}
|
1191
1191
|
timestamp = timestamp.replace(/ UTC/, '');
|
1192
|
-
console.log("Replacing timestamp " + timestamp);
|
1192
|
+
// console.log("Replacing timestamp " + timestamp);
|
1193
1193
|
regex = /\ [-+][0-9]+$/;
|
1194
1194
|
output = regex.test(timestamp) ? (r = timestamp.replace(regex, ''), moment(r, "YYYY-MM-DD HH:mm:ss")) : (regex = /\.[0-9]{3}[-+][0-9]{2}\:[0-9]{2}$/, regex.test(timestamp) ? (r = timestamp.replace(regex, '').replace('T', ' '), moment(r, "YYYY-MM-DD HH:mm:ss")) : moment(timestamp));
|
1195
1195
|
return output;
|
@@ -1220,4 +1220,4 @@
|
|
1220
1220
|
})(this));
|
1221
1221
|
});
|
1222
1222
|
});
|
1223
|
-
}));
|
1223
|
+
}));
|