This repository has been archived by the owner on Dec 31, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added locale support for Philippines
- Loading branch information
Showing
1 changed file
with
56 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,56 @@ | ||
//! moment-holiday.js locale configuration | ||
//! locale : Philippines | ||
|
||
(function() { | ||
var moment = (typeof require !== 'undefined' && require !== null) && !require.amd ? require('moment') : this.moment; | ||
|
||
moment.holidays.philippines = { | ||
"New Year's Day": { | ||
date: '1/1', | ||
keywords_n: ['eve'] | ||
}, | ||
"Day of Valor": { | ||
date: '1/9', | ||
keywords: ['day', 'of', 'valor', 'araw', 'ng', 'kagitingan'] | ||
}, | ||
"Good Friday": { | ||
date: 'easter-2', | ||
keywords_y: ['good', 'friday'] | ||
}, | ||
"Easter Sunday": { | ||
date: 'easter', | ||
keywords_y: ['easter'], | ||
keywords: ['sunday'] | ||
}, | ||
"Labor Day": { | ||
date: '5/1', | ||
keywords: ['labor', 'day', 'araw', 'ng' 'manggaggawa'] | ||
}, | ||
"Independence Day": { | ||
date: '6/12', | ||
keywords: ['independence', 'day', 'araw', 'ng', 'kalayaan'] | ||
}, | ||
"Ninoy Aquino Day": { | ||
date: '11/21', | ||
keywords: [ 'araw', 'ng', 'kabayanihan', 'ni', 'ninoy', 'aquino'] | ||
}, | ||
"Bonifacio Day": { | ||
date: '11/30', | ||
keywords: ['bonifacio'] | ||
}, | ||
"All Saints\' Day": { | ||
date: '11/1' | ||
}, | ||
"Christmas Day": { | ||
date: '12/25', | ||
keywords: ['christ', 'x-?mas'], | ||
keywords_n: ['eve'] | ||
}, | ||
"New Year's Eve": { | ||
date: '12/31', | ||
keywords_y: ['year', 'eve'] | ||
} | ||
}; | ||
|
||
if ((typeof module !== 'undefined' && module !== null ? module.exports : void 0) != null) { module.exports = moment; } | ||
}).call(this); |