2015-05-05 03:10:25 +02:00
|
|
|
//! moment.js locale configuration
|
|
|
|
//! locale : Tagalog/Filipino (tl-ph)
|
|
|
|
//! author : Dan Hagman
|
|
|
|
|
|
|
|
(function (global, factory) {
|
|
|
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) :
|
|
|
|
typeof define === 'function' && define.amd ? define(['moment'], factory) :
|
|
|
|
factory(global.moment)
|
|
|
|
}(this, function (moment) { 'use strict';
|
|
|
|
|
|
|
|
|
|
|
|
var tl_ph = moment.defineLocale('tl-ph', {
|
|
|
|
months : 'Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre'.split('_'),
|
|
|
|
monthsShort : 'Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis'.split('_'),
|
|
|
|
weekdays : 'Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado'.split('_'),
|
|
|
|
weekdaysShort : 'Lin_Lun_Mar_Miy_Huw_Biy_Sab'.split('_'),
|
|
|
|
weekdaysMin : 'Li_Lu_Ma_Mi_Hu_Bi_Sab'.split('_'),
|
|
|
|
longDateFormat : {
|
|
|
|
LT : 'HH:mm',
|
2016-03-23 18:39:41 +01:00
|
|
|
LTS : 'HH:mm:ss',
|
2015-05-05 03:10:25 +02:00
|
|
|
L : 'MM/D/YYYY',
|
|
|
|
LL : 'MMMM D, YYYY',
|
2016-03-23 18:39:41 +01:00
|
|
|
LLL : 'MMMM D, YYYY HH:mm',
|
|
|
|
LLLL : 'dddd, MMMM DD, YYYY HH:mm'
|
2015-05-05 03:10:25 +02:00
|
|
|
},
|
|
|
|
calendar : {
|
|
|
|
sameDay: '[Ngayon sa] LT',
|
|
|
|
nextDay: '[Bukas sa] LT',
|
|
|
|
nextWeek: 'dddd [sa] LT',
|
|
|
|
lastDay: '[Kahapon sa] LT',
|
|
|
|
lastWeek: 'dddd [huling linggo] LT',
|
|
|
|
sameElse: 'L'
|
|
|
|
},
|
|
|
|
relativeTime : {
|
|
|
|
future : 'sa loob ng %s',
|
|
|
|
past : '%s ang nakalipas',
|
|
|
|
s : 'ilang segundo',
|
|
|
|
m : 'isang minuto',
|
|
|
|
mm : '%d minuto',
|
|
|
|
h : 'isang oras',
|
|
|
|
hh : '%d oras',
|
|
|
|
d : 'isang araw',
|
|
|
|
dd : '%d araw',
|
|
|
|
M : 'isang buwan',
|
|
|
|
MM : '%d buwan',
|
|
|
|
y : 'isang taon',
|
|
|
|
yy : '%d taon'
|
|
|
|
},
|
|
|
|
ordinalParse: /\d{1,2}/,
|
|
|
|
ordinal : function (number) {
|
|
|
|
return number;
|
|
|
|
},
|
|
|
|
week : {
|
|
|
|
dow : 1, // Monday is the first day of the week.
|
|
|
|
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
|
|
|
}
|
|
|
|
});
|
|
|
|
|
|
|
|
return tl_ph;
|
|
|
|
|
|
|
|
}));
|