Ohm-Management - Projektarbeit B-ME
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.9KB

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