Add 2025-2026 Islamic holidays exact dates for Indonesia and Philippines#3591
Conversation
Indonesia: add 2026 Eid al-Fitr confirmed date (MAR 21) Signed-off-by: akshiDhi <jamkim2224@gmail.com>
Philippines: add 2026 Eid al-Fitr confirmed date (MAR 20) Signed-off-by: akshiDhi <jamkim2224@gmail.com>
Indonesia: add 2025-2026 Eid al-Adha confirmed dates Signed-off-by: akshiDhi <jamkim2224@gmail.com>
Philippines: add 2025-2026 Eid al-Adha confirmed dates Signed-off-by: akshiDhi <jamkim2224@gmail.com>
WalkthroughExtend confirmed-year ranges to include 2026 for Indonesia and the Philippines; add 2026 Vesak and 2026 Eid al‑Fitr entries for Indonesia; update Philippines docstring references; add ChangesHoliday confirmed-year and date updates
Repository metadata
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Suggested labels
Suggested reviewers
🚥 Pre-merge checks | ✅ 3 | ❌ 2❌ Failed checks (2 inconclusive)
✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
PPsyrius
left a comment
There was a problem hiding this comment.
Please include the references for your data as well in the doctring reference section i.e. https://www.officialgazette.gov.ph/nationwide-holidays/ for the Philippines
Aside from that, feel free to include your own name in the CONTRIBUTORS file as well
Signed-off-by: akshiDhi <jamkim2224@gmail.com>
Signed-off-by: akshiDhi <jamkim2224@gmail.com>
Signed-off-by: akshiDhi <jamkim2224@gmail.com>
|
I have addressed all the requested changes. thanks ! |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## dev #3591 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 314 314
Lines 18820 18820
Branches 2408 2408
=========================================
Hits 18820 18820 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
PPsyrius
left a comment
There was a problem hiding this comment.
For Indonesia, I ended up rechecking their holidays against https://id.wikipedia.org/wiki/Indonesia_dalam_tahun_2026 (this one is already included in our reference list) - you can safely update these entries' end year from 2025 to 2026 as well without adding year-specific data:
HIJRI_NEW_YEAR_DATES_CONFIRMED_YEARSMAWLID_DATES_CONFIRMED_YEARSISRA_AND_MIRAJ_DATES_CONFIRMED_YEARSVESAK_DATESLUNAR_NEW_YEAR_DATES_CONFIRMED_YEARS
Aside from this and the suggested changes below, the rest are LGTM 👍
Signed-off-by: akshiDhi <jamkim2224@gmail.com>
Removed holiday dates for 2025 and 2026 from the Philippines. Signed-off-by: akshiDhi <jamkim2224@gmail.com>
Signed-off-by: akshiDhi <jamkim2224@gmail.com>
There was a problem hiding this comment.
♻️ Duplicate comments (1)
holidays/countries/philippines.py (1)
16-16:⚠️ Potential issue | 🔴 Critical | ⚡ Quick winAdd
MARback to the Gregorian import list.Line 16 drops
MAR, but Line 240 still uses it inEID_AL_FITR_DATES; this will raiseNameErrorwhen the module is loaded.Suggested fix
-from holidays.calendars.gregorian import JAN, FEB, APR, MAY, JUN, JUL, AUG, SEP, OCT, NOV, DEC +from holidays.calendars.gregorian import JAN, FEB, MAR, APR, MAY, JUN, JUL, AUG, SEP, OCT, NOV, DECAlso applies to: 240-240
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In `@holidays/countries/philippines.py` at line 16, The import statement at the top removed MAR but EID_AL_FITR_DATES still uses MAR, causing a NameError; restore MAR in the gregorian import list by adding MAR back to the import tuple (the line that imports JAN, FEB, APR, ... DEC) so that the module-level constant EID_AL_FITR_DATES can reference MAR successfully.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Duplicate comments:
In `@holidays/countries/philippines.py`:
- Line 16: The import statement at the top removed MAR but EID_AL_FITR_DATES
still uses MAR, causing a NameError; restore MAR in the gregorian import list by
adding MAR back to the import tuple (the line that imports JAN, FEB, APR, ...
DEC) so that the module-level constant EID_AL_FITR_DATES can reference MAR
successfully.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: ASSERTIVE
Plan: Pro
Run ID: b23dda7a-d5a8-4eec-8c8c-420784b1c614
📒 Files selected for processing (2)
holidays/countries/indonesia.pyholidays/countries/philippines.py
💤 Files with no reviewable changes (1)
- holidays/countries/indonesia.py
There was a problem hiding this comment.
1 issue found across 2 files (changes from recent commits).
Tip: Review your code locally with the cubic CLI to iterate faster.
Re-trigger cubic
Signed-off-by: akshiDhi <jamkim2224@gmail.com>
Signed-off-by: akshiDhi <jamkim2224@gmail.com>
|
i have addressed the feedbacks, thank you ! |
Co-authored-by: ~Jhellico <KJhellico@users.noreply.github.com> Signed-off-by: akshiDhi <jamkim2224@gmail.com>
Signed-off-by: akshiDhi <jamkim2224@gmail.com>
Signed-off-by: akshiDhi <jamkim2224@gmail.com>
|
You're iterating quickly on this pull request. To help protect your rate limits, cubic has paused automatic reviews on new pushes for now—when you're ready for another review, comment |
|
Proposed change
Extends confirmed Islamic holiday year ranges to 2026 for Indonesia and Philippines, and adds 2026 Eid al-Fitr exact date for Indonesia.
Changes:
Related to #2334
Type of change
holidaysfunctionality in general)Checklist
make checklocally; all checks and tests passed.