en-ie.js 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. // English (Ireland) [en-ie]
  2. import dayjs from '../index';
  3. var locale = {
  4. name: 'en-ie',
  5. weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'),
  6. months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'),
  7. weekStart: 1,
  8. weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
  9. monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
  10. weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
  11. ordinal: function ordinal(n) {
  12. return n;
  13. },
  14. formats: {
  15. LT: 'HH:mm',
  16. LTS: 'HH:mm:ss',
  17. L: 'DD/MM/YYYY',
  18. LL: 'D MMMM YYYY',
  19. LLL: 'D MMMM YYYY HH:mm',
  20. LLLL: 'dddd D MMMM YYYY HH:mm'
  21. },
  22. relativeTime: {
  23. future: 'in %s',
  24. past: '%s ago',
  25. s: 'a few seconds',
  26. m: 'a minute',
  27. mm: '%d minutes',
  28. h: 'an hour',
  29. hh: '%d hours',
  30. d: 'a day',
  31. dd: '%d days',
  32. M: 'a month',
  33. MM: '%d months',
  34. y: 'a year',
  35. yy: '%d years'
  36. }
  37. };
  38. dayjs.locale(locale, null, true);
  39. export default locale;