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: 7e6375ea8b0718386a75995084e8f1343861514f
4
- data.tar.gz: b12618649d7ce9700f70c80e6c5308fa241d0e79
3
+ metadata.gz: 54a4c93b53073c21437a4ceb983bf1d6c3317bc5
4
+ data.tar.gz: d0c1760fb1292998ad886c2138de0706db5bd27d
5
5
  SHA512:
6
- metadata.gz: 918b692aa65c305bea348ab0c3c29bc78918f338f28bdcc9cc102c303f1dfdf68d74c1add802b5eefa729f48ca614276ba8c1274ac3ba3cc96af408fb537bd80
7
- data.tar.gz: 073cbfd4aac16ca4dc3ddaebab492fee06096b69b6e77f877a8d374541a3657ed435a376309861678421af6bb3e47e1d7ba1587b738ffc02aa8c27e7737e732e
6
+ metadata.gz: b15d8a380260774a9261a17aa6037e067a3a4291fd4b88a0dc84bbcfbca475792e8eed842b1df59598d6f8aea4fc3656a32088b0306d43d71e62d2e4d7dac1d7
7
+ data.tar.gz: a7391741dc85806d18ba46097afc621bebe77ce1814a95213b99e4065a3099a4d3892ee650fc7a9a8abf74fb5b5091ed159e02bc485f6df3f3b51ea7d223f610
@@ -1,3 +1,3 @@
1
1
  module SimpleFormDatetimepicker
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.7"
3
3
  end
@@ -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
+ }));
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simple_form_datetimepicker
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - smit1625