python-holidays icon indicating copy to clipboard operation
python-holidays copied to clipboard

Add Telangana State Holidays to India Coverage

Open saitejareddy05 opened this issue 10 months ago • 11 comments

The holidays library currently supports Indian national holidays but does not include Telangana-specific holidays. This makes it difficult for applications in Telangana to rely on accurate holiday data for scheduling and compliance.

I propose adding official Telangana state holidays (e.g., Bathukamma, Bonalu, Telangana Formation Day) to the India provider. These holidays should be validated against government gazette notifications and integrated as subdivision-specific rules.

  • Manually adding Telangana holidays in application code, which is error-prone and not reusable.
  • Using external datasets, but they are inconsistent and not integrated with the holidays library.

Proposal reference: https://docs.google.com/document/d/1Y-LF4l5Z1vvzrL8emrsGHqwmOYeUXWqN/edit?usp=sharing&ouid=105015670767386267951&rtpof=true&sd=true

This enhancement would improve accuracy for users in Telangana and align with the project’s goal of comprehensive state-level coverage.

I am open to feedback from maintainers on scope and implementation details. I need to Work under woc2026 can you please assign to me i need to work on this Thank You

saitejareddy05 avatar Jan 21 '26 06:01 saitejareddy05

Hi @PPsyrius , I’d like to work on adding Telangana (TG) state holidays support for India. I have recently worked on a similar state-specific fix (#3358), so I’m familiar with the structure. Could you please assign this issue to me?

Devika9705 avatar Mar 21 '26 17:03 Devika9705

Hi! Just checking if this issue is currently being worked on. If not, I’d be happy to take it up. Thanks!

Devika9705 avatar Mar 22 '26 06:03 Devika9705

Hi @saitejareddy05,

I looked into the codebase, and it seems Telangana state holidays are actually already implemented in

holidays/countries/india.py natively!

They are currently listed under the subdivision code TS instead of TG. The holidays currently implemented under TS are:

Dr. B. R. Ambedkar's Jayanti Telangana Formation Day Bathukamma Festival Ugadi However, I did notice two things based on your original proposal:

Bonalu is currently missing from the TS logic. The official vehicle/state ISO abbreviation for Telangana is TG, but the library currently uses the older TS code. Do we want to keep this issue open specifically to add Bonalu and perhaps alias/update the TS code to TG? If not, this issue might already be resolved!

Vikash-Kumar-23 avatar Mar 22 '26 07:03 Vikash-Kumar-23

@Vikash-Kumar-23, can you provide any official confirmation that TG code is still valid? ISO currently specifies TS.

KJhellico avatar Mar 22 '26 13:03 KJhellico

Hi @KJhellico

Thanks for the clarification — you're right that ISO currently specifies "TS". I got a bit confused earlier.

My earlier point was based on recent updates where Telangana is adopting "TG" in official usage (e.g. vehicle registration): https://transport.telangana.gov.in/html/registration-districtcodes.html https://www.thehindu.com/news/national/telangana/cm-firm-on-having-states-identity-as-tg-not-ts/article68187923.ece

So it seems TS is still the ISO standard, while TG is being adopted in practice.

Would it make sense to support TG as an alias while keeping TS as the primary code?

Vikash-Kumar-23 avatar Mar 22 '26 14:03 Vikash-Kumar-23

Would it make sense to support TG as an alias while keeping TS as the primary code?

Yes, if it's widely used.

KJhellico avatar Mar 22 '26 14:03 KJhellico

Got it, thanks!

I’ll proceed with:

  • Adding TG as an alias for TS
  • Adding Bonalu to the TS holidays

Please let me know if there’s anything specific I should keep in mind.

Vikash-Kumar-23 avatar Mar 22 '26 15:03 Vikash-Kumar-23

if there’s anything specific I should keep in mind

Please note that Bonalu is a Lunar calendar holiday.

KJhellico avatar Mar 22 '26 17:03 KJhellico

Hi, @KJhellico

Since Bonalu is based on the Hindu lunar calendar, I plan to include year-specific dates based on official Telangana government holiday notifications.

https://www.telangana.gov.in/downloads/calendar-2026/

Please let me know if this approach looks good.

Vikash-Kumar-23 avatar Mar 24 '26 00:03 Vikash-Kumar-23

Hi, I would like to contribute to this issue. Is it still available or can I work on it as well?

omkarchougule10 avatar Mar 31 '26 11:03 omkarchougule10

Hi @omkarchougule1010-web,

I've been working on this in PR #3426. After checking many sources, I could only find reliable Bonalu holiday dates up to 2028. Feel free to work on it further if you’re interested—maybe we can find a better long-term solution together.

Vikash-Kumar-23 avatar Mar 31 '26 11:03 Vikash-Kumar-23