-
Notifications
You must be signed in to change notification settings - Fork 7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[new locale] fil: Filipino, copied from tl-ph
- Loading branch information
Showing
2 changed files
with
506 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
//! moment.js locale configuration | ||
//! locale : Tagalog (Philippines) [tl-ph] | ||
//! author : Dan Hagman : https://github.com/hagmandan | ||
//! author : Matthew Co : https://github.com/matthewdeeco | ||
|
||
import moment from '../moment'; | ||
|
||
export default moment.defineLocale('fil', { | ||
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', | ||
LTS: 'HH:mm:ss', | ||
L: 'MM/D/YYYY', | ||
LL: 'MMMM D, YYYY', | ||
LLL: 'MMMM D, YYYY HH:mm', | ||
LLLL: 'dddd, MMMM DD, YYYY HH:mm', | ||
}, | ||
calendar: { | ||
sameDay: 'LT [ngayong araw]', | ||
nextDay: '[Bukas ng] LT', | ||
nextWeek: 'LT [sa susunod na] dddd', | ||
lastDay: 'LT [kahapon]', | ||
lastWeek: 'LT [noong nakaraang] dddd', | ||
sameElse: 'L', | ||
}, | ||
relativeTime: { | ||
future: 'sa loob ng %s', | ||
past: '%s ang nakalipas', | ||
s: 'ilang segundo', | ||
ss: '%d 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', | ||
}, | ||
dayOfMonthOrdinalParse: /\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. | ||
}, | ||
}); |
Oops, something went wrong.