Skip to content

Commit

Permalink
update assets
Browse files Browse the repository at this point in the history
  • Loading branch information
Nerian committed Apr 22, 2012
1 parent 99f7cce commit 742ce2a
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/bootstrap-datepicker-rails/version.rb
@@ -1,5 +1,5 @@
module BootstrapDatepickerRails
module Rails
VERSION = "0.6.9"
VERSION = "0.6.10"
end
end
3 changes: 2 additions & 1 deletion vendor/assets/javascripts/bootstrap-datepicker/core.js
Expand Up @@ -24,7 +24,8 @@

var Datepicker = function(element, options){
this.element = $(element);
this.language = options.language in dates ? options.language : "en";
this.language = options.language||this.element.data('date-language')||"en";
this.language = this.language in dates ? this.language : "en";
this.format = DPGlobal.parseFormat(options.format||this.element.data('date-format')||'mm/dd/yyyy');
this.picker = $(DPGlobal.template)
.appendTo('body')
Expand Down
@@ -0,0 +1,13 @@
/**
* Dutch translation for bootstrap-datepicker
* Reinier Goltstein <mrgoltstein@gmail.com>
*/
;(function($){
$.fn.datepicker.dates['nl'] = {
days: ["Zondag", "Maandag", "Dinsdag", "Woensdag", "Donderdag", "Vrijdag", "Zaterdag", "Zondag"],
daysShort: ["Zo", "Ma", "Di", "Wo", "Do", "Vr", "Za", "Zo"],
daysMin: ["Zo", "Ma", "Di", "Wo", "Do", "Vr", "Za", "Zo"],
months: ["Januari", "Februari", "Maart", "April", "Mei", "Juni", "Juli", "Augustus", "September", "Oktober", "November", "December"],
monthsShort: ["Jan", "Feb", "Mrt", "Apr", "Mei", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dec"]
};
}(jQuery));

0 comments on commit 742ce2a

Please sign in to comment.