Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from notlmn/add-indian-holidays
Add Indian holidays
- Loading branch information
Showing
1 changed file
with
42 additions
and
7 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 |
---|---|---|
@@ -1,12 +1,47 @@ | ||
// INCOMPLETE | ||
var utils = require('../utils'); | ||
var easter = utils.easter; | ||
|
||
module.exports = { | ||
national: [ | ||
'01-26', | ||
'04-14', | ||
'08-15', | ||
'10-02', | ||
'12-25' | ||
'01-26', // Republic day | ||
'08-15', // Independence day | ||
'10-02', // Gandhi Jayanti | ||
'12-25' // Christmas | ||
], | ||
regional: [] | ||
regional: [ | ||
// Secular holidays | ||
'01-01', // New Year | ||
'01-14', // Pongal / Uttarayan (Gujarat) | ||
'01-23', // Bose's Jayanti | ||
'02-19', // Shivaji's Jayanti (Maharashtra) | ||
'03-15', // Kanshi Ram's Jayanti (UP) | ||
'03-22', // Bihar day | ||
'03-30', // Rajasthan Day | ||
'04-01', // Odisha day | ||
'04-14', // Ambedkar's Jayanti | ||
'04-15', // New Year Assamese & Odia | ||
'05-01', // Labour Day / Maharashtra day / Gujarat day | ||
'05-09', // Rabindra Jayanti (WB) | ||
'05-16', // Annexation Day (Sikkim) | ||
'06-02', // Telangana Formation Day | ||
'06-15', // Maharana Pratap Jayanti (Rajasthan) | ||
'10-26', // Accession Day (J&K) | ||
'10-31', // Sardar Patel Jayanti (Gujarat) | ||
'11-01', // Foundation Day for AP, Haryana, MP, Kerala | ||
'12-07', // Armed Forces Flag Day | ||
|
||
// Christian holidays | ||
utils.before('Thu', easter), // Maundy Thursday | ||
utils.before('Fri', easter), // Good Friday | ||
easter, | ||
utils.pentecost, | ||
'07-03', // Feast of St. Thomas (Kerala) | ||
'09-05', // Fest of St. Theresa of Calcutta | ||
'08-05', // Feast of the Blessed Virgin | ||
'09-01', // All Saints Day (Karnataka) | ||
'09-02', // All Souls Day (Mizoram) | ||
'12-03', // Feast of St. Francis Xavier (Goa) | ||
'12-26', // Boxing Day (Telangana) | ||
'12-30' // Feast of Holy Family (Meghalaya) | ||
] | ||
}; |