我正在使用daterangepicker,我想将其显示为RTL
http://www.daterangepicker.com/
我尝试了以下代码,但没有遇到任何麻烦-
我在做什么错了?
<!-- Date range Plugin JavaScript -->
<script src="vendors/bootstrap-daterangepicker/daterangepicker.js"></script>
<script type="text/javascript" src="vendors/bootstrap-daterangepicker/bootstrap-datepicker.he.min.js" charset="UTF-8"></script>
<script>
// Daterange picker
$('.input-daterange-datepicker').daterangepicker({
buttonClasses: ['btn', 'btn-sm'],
language: 'he',
rtl: 'true',
format: 'DD-MM-YYYY',
minDate: '01/01/2015',
maxDate: '31/12/2030',
applyClass: 'btn-danger',
cancelClass: 'btn-inverse',
dateLimit: {
days: 60
}
});
</script>