1 // moment.js locale configuration
2 // locale : Tagalog/Filipino (tl-ph)
6 if (typeof define === 'function' && define.amd) {
7 define(['moment'], factory); // AMD
8 } else if (typeof exports === 'object') {
9 module.exports = factory(require('../moment')); // Node
11 factory((typeof global !== 'undefined' ? global : this).moment); // node or other global
14 return moment.defineLocale('tl-ph', {
15 months : 'Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre'.split('_'),
16 monthsShort : 'Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis'.split('_'),
17 weekdays : 'Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado'.split('_'),
18 weekdaysShort : 'Lin_Lun_Mar_Miy_Huw_Biy_Sab'.split('_'),
19 weekdaysMin : 'Li_Lu_Ma_Mi_Hu_Bi_Sab'.split('_'),
25 LLL : 'MMMM D, YYYY LT',
26 LLLL : 'dddd, MMMM DD, YYYY LT'
29 sameDay: '[Ngayon sa] LT',
30 nextDay: '[Bukas sa] LT',
31 nextWeek: 'dddd [sa] LT',
32 lastDay: '[Kahapon sa] LT',
33 lastWeek: 'dddd [huling linggo] LT',
37 future : 'sa loob ng %s',
38 past : '%s ang nakalipas',
51 ordinalParse: /\d{1,2}/,
52 ordinal : function (number) {
56 dow : 1, // Monday is the first day of the week.
57 doy : 4 // The week that contains Jan 4th is the first week of the year.