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.

yo.js 1.8KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. //! moment.js locale configuration
  2. //! locale : Yoruba Nigeria [yo]
  3. //! author : Atolagbe Abisoye : https://github.com/andela-batolagbe
  4. import moment from '../moment';
  5. export default moment.defineLocale('yo', {
  6. months: 'Sẹ́rẹ́_Èrèlè_Ẹrẹ̀nà_Ìgbé_Èbibi_Òkùdu_Agẹmo_Ògún_Owewe_Ọ̀wàrà_Bélú_Ọ̀pẹ̀̀'.split(
  7. '_'
  8. ),
  9. monthsShort: 'Sẹ́r_Èrl_Ẹrn_Ìgb_Èbi_Òkù_Agẹ_Ògú_Owe_Ọ̀wà_Bél_Ọ̀pẹ̀̀'.split('_'),
  10. weekdays: 'Àìkú_Ajé_Ìsẹ́gun_Ọjọ́rú_Ọjọ́bọ_Ẹtì_Àbámẹ́ta'.split('_'),
  11. weekdaysShort: 'Àìk_Ajé_Ìsẹ́_Ọjr_Ọjb_Ẹtì_Àbá'.split('_'),
  12. weekdaysMin: 'Àì_Aj_Ìs_Ọr_Ọb_Ẹt_Àb'.split('_'),
  13. longDateFormat: {
  14. LT: 'h:mm A',
  15. LTS: 'h:mm:ss A',
  16. L: 'DD/MM/YYYY',
  17. LL: 'D MMMM YYYY',
  18. LLL: 'D MMMM YYYY h:mm A',
  19. LLLL: 'dddd, D MMMM YYYY h:mm A',
  20. },
  21. calendar: {
  22. sameDay: '[Ònì ni] LT',
  23. nextDay: '[Ọ̀la ni] LT',
  24. nextWeek: "dddd [Ọsẹ̀ tón'bọ] [ni] LT",
  25. lastDay: '[Àna ni] LT',
  26. lastWeek: 'dddd [Ọsẹ̀ tólọ́] [ni] LT',
  27. sameElse: 'L',
  28. },
  29. relativeTime: {
  30. future: 'ní %s',
  31. past: '%s kọjá',
  32. s: 'ìsẹjú aayá die',
  33. ss: 'aayá %d',
  34. m: 'ìsẹjú kan',
  35. mm: 'ìsẹjú %d',
  36. h: 'wákati kan',
  37. hh: 'wákati %d',
  38. d: 'ọjọ́ kan',
  39. dd: 'ọjọ́ %d',
  40. M: 'osù kan',
  41. MM: 'osù %d',
  42. y: 'ọdún kan',
  43. yy: 'ọdún %d',
  44. },
  45. dayOfMonthOrdinalParse: /ọjọ́\s\d{1,2}/,
  46. ordinal: 'ọjọ́ %d',
  47. week: {
  48. dow: 1, // Monday is the first day of the week.
  49. doy: 4, // The week that contains Jan 4th is the first week of the year.
  50. },
  51. });