Nenhuma descrição

yo.js 2.2KB

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