1 // moment.js locale configuration
2 // locale : Tagalog/Filipino (tl-ph)
6 // Comment out broken wrapper, see T145382
7 /*if (typeof define === 'function' && define.amd) {
8 define(['moment'], factory); // AMD
9 } else if (typeof exports === 'object') {
10 module.exports = factory(require('../moment')); // Node
12 factory((typeof global !== 'undefined' ? global : this).moment); // node or other global
16 return moment
.defineLocale('tl-ph', {
17 months
: 'Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre'.split('_'),
18 monthsShort
: 'Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis'.split('_'),
19 weekdays
: 'Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado'.split('_'),
20 weekdaysShort
: 'Lin_Lun_Mar_Miy_Huw_Biy_Sab'.split('_'),
21 weekdaysMin
: 'Li_Lu_Ma_Mi_Hu_Bi_Sab'.split('_'),
27 LLL
: 'MMMM D, YYYY LT',
28 LLLL
: 'dddd, MMMM DD, YYYY LT'
31 sameDay
: '[Ngayon sa] LT',
32 nextDay
: '[Bukas sa] LT',
33 nextWeek
: 'dddd [sa] LT',
34 lastDay
: '[Kahapon sa] LT',
35 lastWeek
: 'dddd [huling linggo] LT',
39 future
: 'sa loob ng %s',
40 past
: '%s ang nakalipas',
53 ordinalParse
: /\d{1,2}/,
54 ordinal : function (number
) {
58 dow
: 1, // Monday is the first day of the week.
59 doy
: 4 // The week that contains Jan 4th is the first week of the year.