Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
UI date picker - dutch.js
/* Dutch (UTF-8) initialisation for the jQuery UI date picker plugin. */
/* Written by Mathias Bynens <http://mathiasbynens.be/> */
( function( factory ) {
if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module.
define( [ "../widgets/datepicker" ], factory );
} else {
// Browser globals
factory( jQuery.datepicker );
}
}( function( datepicker ) {
datepicker.regional.nl = {
closeText: "Sluiten",
prevText: "←",
nextText: "→",
currentText: "Vandaag",
monthNames: [ "januari", "februari", "maart", "april", "mei", "juni",
"juli", "augustus", "september", "oktober", "november", "december" ],
monthNamesShort: [ "jan", "feb", "mrt", "apr", "mei", "jun",
"jul", "aug", "sep", "okt", "nov", "dec" ],
dayNames: [ "zondag", "maandag", "dinsdag", "woensdag", "donderdag", "vrijdag", "zaterdag" ],
dayNamesShort: [ "zon", "maa", "din", "woe", "don", "vri", "zat" ],
dayNamesMin: [ "zo", "ma", "di", "wo", "do", "vr", "za" ],
weekHeader: "Wk",
dateFormat: "dd-mm-yy",
firstDay: 1,
isRTL: false,
showMonthAfterYear: false,
yearSuffix: "" };
datepicker.setDefaults( datepicker.regional.nl );
return datepicker.regional.nl;
} ) );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment