1 |
|
2 | import dayjs from '../index';
|
3 | var locale = {
|
4 | name: 'ht',
|
5 | weekdays: 'dimanch_lendi_madi_mèkredi_jedi_vandredi_samdi'.split('_'),
|
6 | months: 'janvye_fevriye_mas_avril_me_jen_jiyè_out_septanm_oktòb_novanm_desanm'.split('_'),
|
7 | weekdaysShort: 'dim._len._mad._mèk._jed._van._sam.'.split('_'),
|
8 | monthsShort: 'jan._fev._mas_avr._me_jen_jiyè._out_sept._okt._nov._des.'.split('_'),
|
9 | weekdaysMin: 'di_le_ma_mè_je_va_sa'.split('_'),
|
10 | ordinal: function ordinal(n) {
|
11 | return n;
|
12 | },
|
13 | formats: {
|
14 | LT: 'HH:mm',
|
15 | LTS: 'HH:mm:ss',
|
16 | L: 'DD/MM/YYYY',
|
17 | LL: 'D MMMM YYYY',
|
18 | LLL: 'D MMMM YYYY HH:mm',
|
19 | LLLL: 'dddd D MMMM YYYY HH:mm'
|
20 | },
|
21 | relativeTime: {
|
22 | future: 'nan %s',
|
23 | past: 'sa gen %s',
|
24 | s: 'kèk segond',
|
25 | m: 'yon minit',
|
26 | mm: '%d minit',
|
27 | h: 'inèdtan',
|
28 | hh: '%d zè',
|
29 | d: 'yon jou',
|
30 | dd: '%d jou',
|
31 | M: 'yon mwa',
|
32 | MM: '%d mwa',
|
33 | y: 'yon ane',
|
34 | yy: '%d ane'
|
35 | }
|
36 | };
|
37 | dayjs.locale(locale, null, true);
|
38 | export default locale; |
\ | No newline at end of file |