nl.js 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. // Dutch [nl]
  2. import dayjs from '../index';
  3. var locale = {
  4. name: 'nl',
  5. weekdays: 'zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag'.split('_'),
  6. weekdaysShort: 'zo._ma._di._wo._do._vr._za.'.split('_'),
  7. weekdaysMin: 'zo_ma_di_wo_do_vr_za'.split('_'),
  8. months: 'januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december'.split('_'),
  9. monthsShort: 'jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec'.split('_'),
  10. ordinal: function ordinal(n) {
  11. return "[" + n + (n === 1 || n === 8 || n >= 20 ? 'ste' : 'de') + "]";
  12. },
  13. weekStart: 1,
  14. yearStart: 4,
  15. formats: {
  16. LT: 'HH:mm',
  17. LTS: 'HH:mm:ss',
  18. L: 'DD-MM-YYYY',
  19. LL: 'D MMMM YYYY',
  20. LLL: 'D MMMM YYYY HH:mm',
  21. LLLL: 'dddd D MMMM YYYY HH:mm'
  22. },
  23. relativeTime: {
  24. future: 'over %s',
  25. past: '%s geleden',
  26. s: 'een paar seconden',
  27. m: 'een minuut',
  28. mm: '%d minuten',
  29. h: 'een uur',
  30. hh: '%d uur',
  31. d: 'een dag',
  32. dd: '%d dagen',
  33. M: 'een maand',
  34. MM: '%d maanden',
  35. y: 'een jaar',
  36. yy: '%d jaar'
  37. }
  38. };
  39. dayjs.locale(locale, null, true);
  40. export default locale;