vacanza / holidays

Generate and work with holidays in Python
https://pypi.org/project/holidays
MIT License
1.45k stars 460 forks source link

Extend `_ThaiLunisolar` calendar support to 2157 #1981

Closed PPsyrius closed 4 weeks ago

PPsyrius commented 1 month ago

Proposed change

This PR extends the _ThaiLunisolar calendar used by Cambodia, Laos, and Thailand for their holidays calculation to 2157 (2700 B.E. in Thai Traditional Calendar, 2701 B.E. in Lao and Khmer Traditional Calendar), up from the previous 2057 end date implementation.

This has been cross-checked with the data listed on https://www.myhora.com/ปฏิทิน/ .

Type of change

Checklist

codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (c225ae5) to head (6e8149e). Report is 1 commits behind head on dev.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## dev #1981 +/- ## ========================================= Coverage 100.00% 100.00% ========================================= Files 188 188 Lines 11407 11407 Branches 1790 1790 ========================================= Hits 11407 11407 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

sonarcloud[bot] commented 4 weeks ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud