Last active
February 27, 2021 15:29
-
-
Save TangChr/ebc984ee5a55ed15b281 to your computer and use it in GitHub Desktop.
jQuery: Danish localization of the jQuery UI Datepicker
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function($){ | |
$.ui.datepicker.regional['da'] = { | |
closeText: 'Luk', | |
prevText: '<Forrige', | |
nextText: 'Næste>', | |
currentText: 'I dag', | |
monthNames: ['januar','februar','marts','april','maj','juni', | |
'juli','august','september','oktober','november','december'], | |
monthNamesShort: ['jan','feb','mar','apr','maj','jun', | |
'Jul','Aug','sep','okt','nov','dec'], | |
dayNames: ['søndag','mandag','tirsdag','onsdag','torsdag','fredag','lørdag'], | |
dayNamesShort: ['søn','man','tir','ons','tor','fre','lør'], | |
dayNamesMin: ['Sø','ma','ti','on','to','fr','lø'], | |
weekHeader: 'Uge', | |
dateFormat: 'd-m-yy', | |
firstDay: 1, | |
isRTL: false, | |
showMonthAfterYear: false, | |
yearSuffix: '' | |
}; | |
$.extend($.ui.datepicker.defaults, $.ui.datepicker.regional['da']); | |
})(jquery); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment