bootstrap-datepicker-rails 0.6.9 → 0.6.10

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
1
1
  module BootstrapDatepickerRails
2
2
  module Rails
3
- VERSION = "0.6.9"
3
+ VERSION = "0.6.10"
4
4
  end
5
5
  end
@@ -24,7 +24,8 @@
24
24
 
25
25
  var Datepicker = function(element, options){
26
26
  this.element = $(element);
27
- this.language = options.language in dates ? options.language : "en";
27
+ this.language = options.language||this.element.data('date-language')||"en";
28
+ this.language = this.language in dates ? this.language : "en";
28
29
  this.format = DPGlobal.parseFormat(options.format||this.element.data('date-format')||'mm/dd/yyyy');
29
30
  this.picker = $(DPGlobal.template)
30
31
  .appendTo('body')
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Dutch translation for bootstrap-datepicker
3
+ * Reinier Goltstein <mrgoltstein@gmail.com>
4
+ */
5
+ ;(function($){
6
+ $.fn.datepicker.dates['nl'] = {
7
+ days: ["Zondag", "Maandag", "Dinsdag", "Woensdag", "Donderdag", "Vrijdag", "Zaterdag", "Zondag"],
8
+ daysShort: ["Zo", "Ma", "Di", "Wo", "Do", "Vr", "Za", "Zo"],
9
+ daysMin: ["Zo", "Ma", "Di", "Wo", "Do", "Vr", "Za", "Zo"],
10
+ months: ["Januari", "Februari", "Maart", "April", "Mei", "Juni", "Juli", "Augustus", "September", "Oktober", "November", "December"],
11
+ monthsShort: ["Jan", "Feb", "Mrt", "Apr", "Mei", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dec"]
12
+ };
13
+ }(jQuery));
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bootstrap-datepicker-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.9
4
+ version: 0.6.10
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-04-18 00:00:00.000000000 Z
12
+ date: 2012-04-22 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: railties
@@ -85,6 +85,7 @@ files:
85
85
  - vendor/assets/javascripts/bootstrap-datepicker/locales/bootstrap-datepicker.fr.js
86
86
  - vendor/assets/javascripts/bootstrap-datepicker/locales/bootstrap-datepicker.is.js
87
87
  - vendor/assets/javascripts/bootstrap-datepicker/locales/bootstrap-datepicker.it.js
88
+ - vendor/assets/javascripts/bootstrap-datepicker/locales/bootstrap-datepicker.nl.js
88
89
  - vendor/assets/javascripts/bootstrap-datepicker/locales/bootstrap-datepicker.ru.js
89
90
  - vendor/assets/javascripts/bootstrap-datepicker/locales/bootstrap-datepicker.sv.js
90
91
  - vendor/assets/javascripts/bootstrap-datepicker/locales/bootstrap-datepicker.tr.js
@@ -103,7 +104,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
103
104
  version: '0'
104
105
  segments:
105
106
  - 0
106
- hash: 1266753371692266848
107
+ hash: -536920059827411309
107
108
  required_rubygems_version: !ruby/object:Gem::Requirement
108
109
  none: false
109
110
  requirements:
@@ -112,7 +113,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
112
113
  version: '0'
113
114
  segments:
114
115
  - 0
115
- hash: 1266753371692266848
116
+ hash: -536920059827411309
116
117
  requirements: []
117
118
  rubyforge_project:
118
119
  rubygems_version: 1.8.21