1 |
|
2 | import dayjs from '../index';
|
3 | var locale = {
|
4 | name: 'tl-ph',
|
5 | weekdays: 'Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado'.split('_'),
|
6 | months: 'Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre'.split('_'),
|
7 | weekStart: 1,
|
8 | weekdaysShort: 'Lin_Lun_Mar_Miy_Huw_Biy_Sab'.split('_'),
|
9 | monthsShort: 'Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis'.split('_'),
|
10 | weekdaysMin: 'Li_Lu_Ma_Mi_Hu_Bi_Sab'.split('_'),
|
11 | ordinal: function ordinal(n) {
|
12 | return n;
|
13 | },
|
14 | formats: {
|
15 | LT: 'HH:mm',
|
16 | LTS: 'HH:mm:ss',
|
17 | L: 'MM/D/YYYY',
|
18 | LL: 'MMMM D, YYYY',
|
19 | LLL: 'MMMM D, YYYY HH:mm',
|
20 | LLLL: 'dddd, MMMM DD, YYYY HH:mm'
|
21 | },
|
22 | relativeTime: {
|
23 | future: 'sa loob ng %s',
|
24 | past: '%s ang nakalipas',
|
25 | s: 'ilang segundo',
|
26 | m: 'isang minuto',
|
27 | mm: '%d minuto',
|
28 | h: 'isang oras',
|
29 | hh: '%d oras',
|
30 | d: 'isang araw',
|
31 | dd: '%d araw',
|
32 | M: 'isang buwan',
|
33 | MM: '%d buwan',
|
34 | y: 'isang taon',
|
35 | yy: '%d taon'
|
36 | }
|
37 | };
|
38 | dayjs.locale(locale, null, true);
|
39 | export default locale; |
\ | No newline at end of file |