Node-Red configuration
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

en-ca.js 1.0KB

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