1 |
|
2 | import dayjs from '../index';
|
3 | var locale = {
|
4 | name: 'yo',
|
5 | weekdays: 'Àìkú_Ajé_Ìsẹ́gun_Ọjọ́rú_Ọjọ́bọ_Ẹtì_Àbámẹ́ta'.split('_'),
|
6 | months: 'Sẹ́rẹ́_Èrèlè_Ẹrẹ̀nà_Ìgbé_Èbibi_Òkùdu_Agẹmo_Ògún_Owewe_Ọ̀wàrà_Bélú_Ọ̀pẹ̀̀'.split('_'),
|
7 | weekStart: 1,
|
8 | weekdaysShort: 'Àìk_Ajé_Ìsẹ́_Ọjr_Ọjb_Ẹtì_Àbá'.split('_'),
|
9 | monthsShort: 'Sẹ́r_Èrl_Ẹrn_Ìgb_Èbi_Òkù_Agẹ_Ògú_Owe_Ọ̀wà_Bél_Ọ̀pẹ̀̀'.split('_'),
|
10 | weekdaysMin: 'Àì_Aj_Ìs_Ọr_Ọb_Ẹt_Àb'.split('_'),
|
11 | ordinal: function ordinal(n) {
|
12 | return n;
|
13 | },
|
14 | formats: {
|
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 | relativeTime: {
|
23 | future: 'ní %s',
|
24 | past: '%s kọjá',
|
25 | s: 'ìsẹjú aayá die',
|
26 | m: 'ìsẹjú kan',
|
27 | mm: 'ìsẹjú %d',
|
28 | h: 'wákati kan',
|
29 | hh: 'wákati %d',
|
30 | d: 'ọjọ́ kan',
|
31 | dd: 'ọjọ́ %d',
|
32 | M: 'osù kan',
|
33 | MM: 'osù %d',
|
34 | y: 'ọdún kan',
|
35 | yy: 'ọdún %d'
|
36 | }
|
37 | };
|
38 | dayjs.locale(locale, null, true);
|
39 | export default locale; |
\ | No newline at end of file |