Skip to content

Conversation

@PPsyrius
Copy link
Collaborator

@PPsyrius PPsyrius commented Sep 5, 2024

Proposed change

Adds en_AU, en_US, th localization for Australia holidays.

Thai translation has been cross-checked with the available state-level sources whenever applicable [1] and a fellow Thai developer ( @ansntu ) who currently resides there.

Note

Queensland does, in fact, have different "Royal Queensland Show"/similar events holiday dates depending on the regions/cities you're in . For simplicity's sake the current implementation will adhere to the main Public Holidays list for now and keep those aforementioned entries for possible future implementations.

Type of change

  • New country/market holidays support (thank you!)
  • Supported country/market holidays update (calendar discrepancy fix, localization)
  • Existing code/documentation/test/process quality improvement (best practice, cleanup, refactoring, optimization)
  • Dependency update (version deprecation/pin/upgrade)
  • Bugfix (non-breaking change which fixes an issue)
  • Breaking change (a code change causing existing functionality to break)
  • New feature (new python-holidays functionality in general)

Checklist

  • I've followed the contributing guidelines
  • I've run make pre-commit, it didn't generate any changes
  • I've run make test, all tests passed locally

@codecov
Copy link

codecov bot commented Sep 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (7ab80ed) to head (4a31c04).
Report is 2 commits behind head on dev.

Additional details and impacted files
@@            Coverage Diff            @@
##               dev     #1977   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          188       188           
  Lines        11403     11404    +1     
  Branches      1789      1790    +1     
=========================================
+ Hits         11403     11404    +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Collaborator

@KJhellico KJhellico left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Localization of new country is as good as new country! 🚀

Co-authored-by: ~Jhellico <[email protected]>
@PPsyrius PPsyrius requested a review from KJhellico September 5, 2024 14:38
Copy link
Collaborator

@KJhellico KJhellico left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@sonarqubecloud
Copy link

sonarqubecloud bot commented Sep 9, 2024

Copy link
Collaborator

@arkid15r arkid15r left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@PPsyrius great work!
@ansntu thanks for helping with this!

@arkid15r arkid15r added this pull request to the merge queue Sep 10, 2024
Merged via the queue into vacanza:dev with commit c12a348 Sep 10, 2024
@PPsyrius PPsyrius deleted the add_australia_holidays_localization branch September 10, 2024 05:19
@arkid15r arkid15r mentioned this pull request Sep 16, 2024
mstuttgart pushed a commit to multidadosti-erp/python-holidays that referenced this pull request Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants