Topic: Datepicker translation of weekdays labels
Hi,
I try to place a translated datepicker into a form. Functionality is fine but I am unable to translate the one letter labels of the weekdays. Can you please help me with this?
Here is what I mean:
https://ibb.co/cGgizx
Regards
Peter
Mikołaj Smoleński staff answered 7 years ago
$('.datepicker').pickadate({
weekdaysShort: ['P', 'W', 'S', 'C', 'P', 'S', 'N'],
});
Regards Peter_ answered 7 years ago
Mikołaj Smoleński staff answered 7 years ago
Peter_ answered 7 years ago
Mikołaj Smoleński staff answered 7 years ago
$('.datepicker').pickadate({
monthsFull: ['Januar','Februar','März','April','Mai','Juni','Juli','August','September','Oktober','November','Dezember'],
monthsShort: ['Jan','Feb','Mär','Apr','Mai','Jun','Jul','Aug','Sep','Okt','Nov','Dez'],
weekdaysShort: ['S','M','D','M','D','F','S'],
weekdaysFull: ['Sonntag','Montag','Dienstag','Mittwoch','Donnerstag','Freitag','Samstag'],
format: 'dddd, dd. mmmm yyyy',
formatSubmit: 'dd.mm.yyyy',
today: 'Heute',
clear: 'cancel',
close: 'OK',
firstDay: 1
});
It's working correct in my project. Here You have the screenshot:
https://ibb.co/cc6fmc
I recommend to update MDB to the latest version.
Regards Peter_ answered 7 years ago
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Free
- Premium support: No
- Technology: MDB jQuery
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: No