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