我在项目中添加了Air Date picker。插件默认语言为俄语。根据文档,我尝试将其更改为英语,但语言仍然是俄语。
有其他人遇到同样的问题吗?
$('.datepicker-here').datepicker({
language: 'en',
minDate: new Date()
})
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/air-datepicker/2.2.3/css/datepicker.min.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/air-datepicker/2.2.3/js/datepicker.min.js"></script>
<input type='text' class='datepicker-here' data-language='en' />