1 |
|
2 | import dayjs from '../index';
|
3 | var locale = {
|
4 | name: 'fo',
|
5 | weekdays: 'sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur'.split('_'),
|
6 | months: 'januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desember'.split('_'),
|
7 | weekStart: 1,
|
8 | weekdaysShort: 'sun_mán_týs_mik_hós_frí_ley'.split('_'),
|
9 | monthsShort: 'jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des'.split('_'),
|
10 | weekdaysMin: 'su_má_tý_mi_hó_fr_le'.split('_'),
|
11 | ordinal: function ordinal(n) {
|
12 | return n;
|
13 | },
|
14 | formats: {
|
15 | LT: 'HH:mm',
|
16 | LTS: 'HH:mm:ss',
|
17 | L: 'DD/MM/YYYY',
|
18 | LL: 'D MMMM YYYY',
|
19 | LLL: 'D MMMM YYYY HH:mm',
|
20 | LLLL: 'dddd D. MMMM, YYYY HH:mm'
|
21 | },
|
22 | relativeTime: {
|
23 | future: 'um %s',
|
24 | past: '%s síðani',
|
25 | s: 'fá sekund',
|
26 | m: 'ein minuttur',
|
27 | mm: '%d minuttir',
|
28 | h: 'ein tími',
|
29 | hh: '%d tímar',
|
30 | d: 'ein dagur',
|
31 | dd: '%d dagar',
|
32 | M: 'ein mánaður',
|
33 | MM: '%d mánaðir',
|
34 | y: 'eitt ár',
|
35 | yy: '%d ár'
|
36 | }
|
37 | };
|
38 | dayjs.locale(locale, null, true);
|
39 | export default locale; |
\ | No newline at end of file |