bootstrap-datepicker-rails 0.6.36 → 0.6.37
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.
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
this.language = options.language||this.element.data('date-language')||"en";
|
|
38
38
|
this.language = this.language in dates ? this.language : "en";
|
|
39
39
|
this.isRTL = dates[this.language].rtl||false;
|
|
40
|
-
this.format = DPGlobal.parseFormat(options.format||this.element.data('date-format')||'mm/dd/yyyy');
|
|
40
|
+
this.format = DPGlobal.parseFormat(options.format||this.element.data('date-format')||dates[this.language].format||'mm/dd/yyyy');
|
|
41
41
|
this.isInline = false;
|
|
42
42
|
this.isInput = this.element.is('input');
|
|
43
43
|
this.component = this.element.is('.date') ? this.element.find('.add-on') : false;
|
|
@@ -331,7 +331,6 @@
|
|
|
331
331
|
|
|
332
332
|
if(fromArgs) this.setValue();
|
|
333
333
|
|
|
334
|
-
var oldViewDate = this.viewDate;
|
|
335
334
|
if (this.date < this.startDate) {
|
|
336
335
|
this.viewDate = new Date(this.startDate);
|
|
337
336
|
} else if (this.date > this.endDate) {
|
|
@@ -339,13 +338,6 @@
|
|
|
339
338
|
} else {
|
|
340
339
|
this.viewDate = new Date(this.date);
|
|
341
340
|
}
|
|
342
|
-
|
|
343
|
-
if (oldViewDate && oldViewDate.getTime() != this.viewDate.getTime()){
|
|
344
|
-
this.element.trigger({
|
|
345
|
-
type: 'changeDate',
|
|
346
|
-
date: this.viewDate
|
|
347
|
-
});
|
|
348
|
-
}
|
|
349
341
|
this.fill();
|
|
350
342
|
},
|
|
351
343
|
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
months: ["Januar", "Februar", "März", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember"],
|
|
11
11
|
monthsShort: ["Jan", "Feb", "Mär", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dez"],
|
|
12
12
|
today: "Heute",
|
|
13
|
-
weekStart: 1
|
|
13
|
+
weekStart: 1,
|
|
14
|
+
format: "dd.mm.yyyy"
|
|
14
15
|
};
|
|
15
16
|
}(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.
|
|
4
|
+
version: 0.6.37
|
|
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: 2013-01-
|
|
12
|
+
date: 2013-01-15 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: railties
|
|
@@ -185,7 +185,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
185
185
|
version: '0'
|
|
186
186
|
segments:
|
|
187
187
|
- 0
|
|
188
|
-
hash:
|
|
188
|
+
hash: 2034119127316735401
|
|
189
189
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
190
190
|
none: false
|
|
191
191
|
requirements:
|
|
@@ -194,7 +194,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
194
194
|
version: '0'
|
|
195
195
|
segments:
|
|
196
196
|
- 0
|
|
197
|
-
hash:
|
|
197
|
+
hash: 2034119127316735401
|
|
198
198
|
requirements: []
|
|
199
199
|
rubyforge_project:
|
|
200
200
|
rubygems_version: 1.8.24
|