I have added a input field and are using the pikaday calender. Have changed the months, days from english to danish language by including the local/da script: but the month and date text wont change in the input field.
<script>
var Today = new Date();
moment.locale('da');
var daDate = {
previousMonth: 'Forrige måned',
nextMonth: 'Næste måned',
months: moment.localeData()._months,
weekdays: moment.localeData()._weekdays,
weekdaysShort: moment.localeData()._weekdaysShort
};
var picker = new Pikaday({
field: document.getElementById('datepicker'),
minDate: new Date(),
maxDate: new Date(2030, 12, 31),
setDefaultDate: true,
i18n: daDate,
firstDay: 1
});
picker.setDate(Today.getDate());
</script>