UNPKG

1.74 kBJavaScriptView Raw
1//! moment.js locale configuration
2//! locale : Tagalog (Philippines) [tl-ph]
3//! author : Dan Hagman : https://github.com/hagmandan
4
5import moment from '../moment';
6
7export default moment.defineLocale('tl-ph', {
8 months: 'Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre'.split(
9 '_'
10 ),
11 monthsShort: 'Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis'.split('_'),
12 weekdays: 'Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado'.split(
13 '_'
14 ),
15 weekdaysShort: 'Lin_Lun_Mar_Miy_Huw_Biy_Sab'.split('_'),
16 weekdaysMin: 'Li_Lu_Ma_Mi_Hu_Bi_Sab'.split('_'),
17 longDateFormat: {
18 LT: 'HH:mm',
19 LTS: 'HH:mm:ss',
20 L: 'MM/D/YYYY',
21 LL: 'MMMM D, YYYY',
22 LLL: 'MMMM D, YYYY HH:mm',
23 LLLL: 'dddd, MMMM DD, YYYY HH:mm',
24 },
25 calendar: {
26 sameDay: 'LT [ngayong araw]',
27 nextDay: '[Bukas ng] LT',
28 nextWeek: 'LT [sa susunod na] dddd',
29 lastDay: 'LT [kahapon]',
30 lastWeek: 'LT [noong nakaraang] dddd',
31 sameElse: 'L',
32 },
33 relativeTime: {
34 future: 'sa loob ng %s',
35 past: '%s ang nakalipas',
36 s: 'ilang segundo',
37 ss: '%d segundo',
38 m: 'isang minuto',
39 mm: '%d minuto',
40 h: 'isang oras',
41 hh: '%d oras',
42 d: 'isang araw',
43 dd: '%d araw',
44 M: 'isang buwan',
45 MM: '%d buwan',
46 y: 'isang taon',
47 yy: '%d taon',
48 },
49 dayOfMonthOrdinalParse: /\d{1,2}/,
50 ordinal: function (number) {
51 return number;
52 },
53 week: {
54 dow: 1, // Monday is the first day of the week.
55 doy: 4, // The week that contains Jan 4th is the first week of the year.
56 },
57});