bootstrap-datepicker-rails 1.1.1.9 → 1.1.1.10

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2b67d91889fdbdfcadbc24a7982e1222b07270b1
4
- data.tar.gz: cfadc7c156613bdb3eecb92a5f23f0e6ea8368f6
3
+ metadata.gz: aefc172c79b26c84138f82f114ddf75028f31350
4
+ data.tar.gz: 31d9a76013ba1784ff145d141ec2790aac26b705
5
5
  SHA512:
6
- metadata.gz: 669c6a3f62fc9d4ce5e826c4c6639d0670cceec539e78af67567683fbc43188eb4677823cd7a30a4c84f5daf2d695c095bd04690424680d8653096c6426dc284
7
- data.tar.gz: d85bddf9ca777cb72f87339b86675af85516f62cff9cc4853a156d70d06b4753cf150248735c081a49606e3b431b58199f69a8abc087bf4c9bb50a8326419121
6
+ metadata.gz: 28758135ac49d1cdfc298a184fa9e71aeeb5d426e09e3bd7334342f7b03547a419b4e27361482a9aabefd04dac87cdafcb4914f29dbabefaf8ad4b65727973c1
7
+ data.tar.gz: 0df62ea0ae5093a7cd2d97a5a0ced900380071173263a6bd9a6423fa006bc5cd881b56055e80ee79a6a9ccc9a6dd2c113390c8c7b022b5523c7ad0702f8a708b
@@ -1,5 +1,5 @@
1
1
  module BootstrapDatepickerRails
2
2
  module Rails
3
- VERSION = "1.1.1.9"
3
+ VERSION = "1.1.1.10"
4
4
  end
5
5
  end
@@ -44,7 +44,7 @@
44
44
  this.element = $(element);
45
45
  this.isInline = false;
46
46
  this.isInput = this.element.is('input');
47
- this.component = this.element.is('.date') ? this.element.find('.add-on, .btn') : false;
47
+ this.component = this.element.is('.date') ? this.element.find('.add-on, .input-group-addon, .btn') : false;
48
48
  this.hasInput = this.component && this.element.find('input').length;
49
49
  if(this.component && this.component.length === 0)
50
50
  this.component = false;
@@ -61,8 +61,6 @@
61
61
 
62
62
  if (this.o.rtl){
63
63
  this.picker.addClass('datepicker-rtl');
64
- this.picker.find('.prev i, .next i')
65
- .toggleClass('icon-arrow-left icon-arrow-right');
66
64
  }
67
65
 
68
66
  this.viewMode = this.o.startView;
@@ -1045,6 +1043,11 @@
1045
1043
  l = this.inputs.length;
1046
1044
  if (i == -1) return;
1047
1045
 
1046
+ $.each(this.pickers, function(i, p){
1047
+ if (!p.getUTCDate())
1048
+ p.setUTCDate(new_date);
1049
+ });
1050
+
1048
1051
  if (new_date < this.dates[i]){
1049
1052
  // Date being moved earlier/left
1050
1053
  while (i>=0 && new_date < this.dates[i]){
@@ -1,14 +1,18 @@
1
1
  /**
2
2
  * Estonian translation for bootstrap-datepicker
3
3
  * Ando Roots <https://github.com/anroots>
4
+ * Fixes by Illimar Tambek <<https://github.com/ragulka>
4
5
  */
5
6
  ;(function($){
6
7
  $.fn.datepicker.dates['et'] = {
7
8
  days: ["Pühapäev", "Esmaspäev", "Teisipäev", "Kolmapäev", "Neljapäev", "Reede", "Laupäev", "Pühapäev"],
8
- daysShort: ["Püh", "Esm", "Tei", "Kol", "Nel", "Ree", "Lau", "Sun"],
9
+ daysShort: ["Pühap", "Esmasp", "Teisip", "Kolmap", "Neljap", "Reede", "Laup", "Pühap"],
9
10
  daysMin: ["P", "E", "T", "K", "N", "R", "L", "P"],
10
11
  months: ["Jaanuar", "Veebruar", "Märts", "Aprill", "Mai", "Juuni", "Juuli", "August", "September", "Oktoober", "November", "Detsember"],
11
- monthsShort: ["Jaan", "Veeb", "Märts", "Apr", "Mai", "Juuni", "Juuli", "Aug", "Sept", "Okt", "Nov", "Dets"],
12
- today: "Täna"
12
+ monthsShort: ["Jaan", "Veebr", "Märts", "Apr", "Mai", "Juuni", "Juuli", "Aug", "Sept", "Okt", "Nov", "Dets"],
13
+ today: "Täna",
14
+ clear: "Tühjenda",
15
+ weekStart: 1,
16
+ format: "dd.mm.yyyy"
13
17
  };
14
18
  }(jQuery));
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Persian translation for bootstrap-datepicker
3
+ * Mostafa Rokooie <mostafa.rokooie@gmail.com>
4
+ */
5
+ ;(function($){
6
+ $.fn.datepicker.dates['fa'] = {
7
+ days: ["یک‌شنبه", "دوشنبه", "سه‌شنبه", "چهارشنبه", "پنج‌شنبه", "جمعه", "شنبه", "یک‌شنبه"],
8
+ daysShort: ["یک", "دو", "سه", "چهار", "پنج", "جمعه", "شنبه", "یک"],
9
+ daysMin: ["ی", "د", "س", "چ", "پ", "ج", "ش", "ی"],
10
+ months: ["ژانویه", "فوریه", "مارس", "آوریل", "مه", "ژوئن", "ژوئیه", "اوت", "سپتامبر", "اکتبر", "نوامبر", "دسامبر"],
11
+ monthsShort: ["ژان", "فور", "مار", "آور", "مه", "ژون", "ژوی", "اوت", "سپت", "اکت", "نوا", "دسا"],
12
+ today: "امروز",
13
+ clear: "پاک کن",
14
+ weekStart: 1,
15
+ format: "yyyy/mm/dd"
16
+ };
17
+ }(jQuery));
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Kazakh translation for bootstrap-datepicker
3
+ * Yerzhan Tolekov <era.tolekov@gmail.com>
4
+ */
5
+ ;(function($){
6
+ $.fn.datepicker.dates['kk'] = {
7
+ days: ["Жексенбі", "Дүйсенбі", "Сейсенбі", "Сәрсенбі", "Бейсенбі", "Жұма", "Сенбі", "Жексенбі"],
8
+ daysShort: ["Жек", "Дүй", "Сей", "Сәр", "Бей", "Жұм", "Сен", "Жек"],
9
+ daysMin: ["Жк", "Дс", "Сс", "Ср", "Бс", "Жм", "Сн", "Жк"],
10
+ months: ["Қаңтар", "Ақпан", "Наурыз", "Сәуір", "Мамыр", "Маусым", "Шілде", "Тамыз", "Қыркүйек", "Қазан", "Қараша", "Желтоқсан"],
11
+ monthsShort: ["Қаң", "Ақп", "Нау", "Сәу", "Мамыр", "Мау", "Шлд", "Тмз", "Қыр", "Қзн", "Қар", "Жел"],
12
+ today: "Бүгін",
13
+ weekStart: 1
14
+ };
15
+ }(jQuery));
@@ -9,6 +9,7 @@
9
9
  daysMin: ["Не", "По", "Вт", "Ср", "Че", "Пе", "Са", "Не"],
10
10
  months: ["Јануари", "Февруари", "Март", "Април", "Мај", "Јуни", "Јули", "Август", "Септември", "Октомври", "Ноември", "Декември"],
11
11
  monthsShort: ["Јан", "Фев", "Мар", "Апр", "Мај", "Јун", "Јул", "Авг", "Сеп", "Окт", "Ное", "Дек"],
12
- today: "Денес"
12
+ today: "Денес",
13
+ format: "dd.mm.yyyy"
13
14
  };
14
15
  }(jQuery));
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bootstrap-datepicker-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1.9
4
+ version: 1.1.1.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gonzalo Rodríguez-Baltanás Díaz
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-10-31 00:00:00.000000000 Z
11
+ date: 2013-12-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties
@@ -110,6 +110,7 @@ files:
110
110
  - vendor/assets/javascripts/bootstrap-datepicker/locales/bootstrap-datepicker.el.js
111
111
  - vendor/assets/javascripts/bootstrap-datepicker/locales/bootstrap-datepicker.es.js
112
112
  - vendor/assets/javascripts/bootstrap-datepicker/locales/bootstrap-datepicker.et.js
113
+ - vendor/assets/javascripts/bootstrap-datepicker/locales/bootstrap-datepicker.fa.js
113
114
  - vendor/assets/javascripts/bootstrap-datepicker/locales/bootstrap-datepicker.fi.js
114
115
  - vendor/assets/javascripts/bootstrap-datepicker/locales/bootstrap-datepicker.fr.js
115
116
  - vendor/assets/javascripts/bootstrap-datepicker/locales/bootstrap-datepicker.gl.js
@@ -121,6 +122,7 @@ files:
121
122
  - vendor/assets/javascripts/bootstrap-datepicker/locales/bootstrap-datepicker.it.js
122
123
  - vendor/assets/javascripts/bootstrap-datepicker/locales/bootstrap-datepicker.ja.js
123
124
  - vendor/assets/javascripts/bootstrap-datepicker/locales/bootstrap-datepicker.ka.js
125
+ - vendor/assets/javascripts/bootstrap-datepicker/locales/bootstrap-datepicker.kk.js
124
126
  - vendor/assets/javascripts/bootstrap-datepicker/locales/bootstrap-datepicker.kr.js
125
127
  - vendor/assets/javascripts/bootstrap-datepicker/locales/bootstrap-datepicker.lt.js
126
128
  - vendor/assets/javascripts/bootstrap-datepicker/locales/bootstrap-datepicker.lv.js