simple_form_datetimepicker 0.0.1 → 0.0.2

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: e358a20cf9be74fe6274b634de177ce5d7f4d735
4
- data.tar.gz: c60d8881114f83385c0980f9824dbb371ac0eef6
3
+ metadata.gz: 66e31139f9cf19baf5c4b8bc694049f7d05a4c89
4
+ data.tar.gz: a13c5123668f90764d1ea8f262bf28a9b2677747
5
5
  SHA512:
6
- metadata.gz: 04a4310cbd606b469c6ad744dc9bb4f055cbbfcc40ed5b502c4e82a56ea45ae12955a17456461db326ba92ea9d3e7f271c21068f59d136ea95d7a70460caa824
7
- data.tar.gz: e937a0a7ab039d25acfd235f2f3524e5e4e465589bb37ddb7bc7bafe44f977c8418cf159513efea42ebf3977c779757d9aff311dd1ac665513522e639e44f8bc
6
+ metadata.gz: 25109ad3e022bbb006455d0a102ea97badda5557db048b84a285e7bb08d5bf73e96ded552c29bb0e5ed539f722642358272d81e43963e15284327c0c2fd0dcd4
7
+ data.tar.gz: d13ab7193a92e7b209968914ad65d92b9df1cc405b66dbbd1499d88e340f6fcd85fc962bb51aaf2fad0ffb41cf25e184b6578c7703fdf97c583a0f74b338e70b
@@ -1,3 +1,3 @@
1
1
  module SimpleFormDatetimepicker
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
@@ -1208,7 +1208,7 @@
1208
1208
  $(this).attr('autocomplete', 'off').datetimepicker({
1209
1209
  sideBySide: true
1210
1210
  });
1211
- format = $(this).data('DateTimePicker').options.pickDate ? 'MM/DD/YYYY h:mm A' : 'h:mm A';
1211
+ format = $(this).data('DateTimePicker').format;
1212
1212
  if (m != null) {
1213
1213
  $(this).data('DateTimePicker').setDate(m.format(format));
1214
1214
  }
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.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - smit1625