1 |
|
2 | import dayjs from '../index';
|
3 | var locale = {
|
4 | name: 'oc-lnc',
|
5 | weekdays: 'dimenge_diluns_dimars_dimècres_dijòus_divendres_dissabte'.split('_'),
|
6 | weekdaysShort: 'Dg_Dl_Dm_Dc_Dj_Dv_Ds'.split('_'),
|
7 | weekdaysMin: 'dg_dl_dm_dc_dj_dv_ds'.split('_'),
|
8 | months: 'genièr_febrièr_març_abrial_mai_junh_julhet_agost_setembre_octòbre_novembre_decembre'.split('_'),
|
9 | monthsShort: 'gen_feb_març_abr_mai_junh_julh_ago_set_oct_nov_dec'.split('_'),
|
10 | weekStart: 1,
|
11 | formats: {
|
12 | LT: 'H:mm',
|
13 | LTS: 'H:mm:ss',
|
14 | L: 'DD/MM/YYYY',
|
15 | LL: 'D MMMM [de] YYYY',
|
16 | LLL: 'D MMMM [de] YYYY [a] H:mm',
|
17 | LLLL: 'dddd D MMMM [de] YYYY [a] H:mm'
|
18 | },
|
19 | relativeTime: {
|
20 | future: 'd\'aquí %s',
|
21 | past: 'fa %s',
|
22 | s: 'unas segondas',
|
23 | m: 'una minuta',
|
24 | mm: '%d minutas',
|
25 | h: 'una ora',
|
26 | hh: '%d oras',
|
27 | d: 'un jorn',
|
28 | dd: '%d jorns',
|
29 | M: 'un mes',
|
30 | MM: '%d meses',
|
31 | y: 'un an',
|
32 | yy: '%d ans'
|
33 | },
|
34 | ordinal: function ordinal(n) {
|
35 | return n + "\xBA";
|
36 | }
|
37 | };
|
38 | dayjs.locale(locale, null, true);
|
39 | export default locale; |
\ | No newline at end of file |