Skip to content

Commit 6c512d3

Browse files
kiranbeethojudr-prodigy
authored andcommitted
Telangana State (TS ) was added (vacanza#231)
1 parent 4718035 commit 6c512d3

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

‎holidays.py‎

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4196,16 +4196,13 @@ class India(HolidayBase):
41964196
# https://slusi.dacnet.nic.in/watershedatlas/list_of_state_abbreviation.htm
41974197

41984198
PROVINCES = ['AS', 'CG', 'SK', 'KA', 'GJ', 'BR', 'RJ', 'OD',
4199-
'TN', 'AP', 'WB', 'KL', 'HR', 'MH', 'MP', 'UP', 'UK']
4199+
'TN', 'AP', 'WB', 'KL', 'HR', 'MH', 'MP', 'UP', 'UK', 'TS']
42004200

42014201
def __init__(self, **kwargs):
42024202
self.country = "IND"
42034203
HolidayBase.__init__(self, **kwargs)
42044204

42054205
def _populate(self, year):
4206-
# New year
4207-
self[date(year, JAN, 1)] = "New Year"
4208-
42094206
# Pongal/ Makar Sankranti
42104207
self[date(year, JAN, 14)] = "Makar Sankranti / Pongal"
42114208

@@ -4284,6 +4281,10 @@ def _populate(self, year):
42844281
if self.prov == 'CG':
42854282
self[date(year, NOV, 1)] = "Chhattisgarh Foundation Day"
42864283

4284+
#TS is Telangana State which was bifurcated in 2014 from AP (AndhraPradesh)
4285+
if self.prov == 'TS':
4286+
self[date(year, OCT, 06)] = "Bathukamma Festival"
4287+
self[date(year, APR, 06)] = "Eid al-Fitr"
42874288

42884289
class IND(India):
42894290
pass

0 commit comments

Comments
 (0)