バージョンによってやり方がよく変わるので...
環境
- Bootstrap-datapicker 3.0.3
コード
$('#hoge').daterangepicker({ locale: { format: 'YYYY/MM/DD', yearSuffix: '年', showMonthAfterYear: true, monthNames: ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月'], daysOfWeek:['日', '月', '火', '水', '木', '金', '土'], minDate: new Date(), maxDate: '+0d', hideIfNoPrevNext: true, applyLabel:"適用", cancelLabel:"キャンセル" }, },function(s, e) { });