datepicker-en-NZ.js 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. /* English/New Zealand initialisation for the jQuery UI date picker plugin. */
  2. /* Based on the en-GB initialisation. */
  3. (function( factory ) {
  4. if ( typeof define === "function" && define.amd ) {
  5. // AMD. Register as an anonymous module.
  6. define([ "../datepicker" ], factory );
  7. } else {
  8. // Browser globals
  9. factory( jQuery.datepicker );
  10. }
  11. }(function( datepicker ) {
  12. datepicker.regional['en-NZ'] = {
  13. closeText: 'Done',
  14. prevText: 'Prev',
  15. nextText: 'Next',
  16. currentText: 'Today',
  17. monthNames: ['January','February','March','April','May','June',
  18. 'July','August','September','October','November','December'],
  19. monthNamesShort: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun',
  20. 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],
  21. dayNames: ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'],
  22. dayNamesShort: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],
  23. dayNamesMin: ['Su','Mo','Tu','We','Th','Fr','Sa'],
  24. weekHeader: 'Wk',
  25. dateFormat: 'dd/mm/yy',
  26. firstDay: 1,
  27. isRTL: false,
  28. showMonthAfterYear: false,
  29. yearSuffix: ''};
  30. datepicker.setDefaults(datepicker.regional['en-NZ']);
  31. return datepicker.regional['en-NZ'];
  32. }));