Skip to content

Add week, weeks to timeframes in class ThaiLocale #1218

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Aug 5, 2025

Conversation

Hope1010
Copy link
Contributor

@Hope1010 Hope1010 commented Jul 24, 2025

Pull Request Checklist

Thank you for taking the time to improve Arrow! Before submitting your pull request, please check all appropriate boxes:

  • 🧪 Added tests for changed code.
  • 🛠️ All tests pass when run locally (run tox or make test to find out!).
  • 🧹 All linting checks pass when run locally (run tox -e lint or make lint to find out!).
  • 📚 Updated documentation for changed code.
  • ⏩ Code is up-to-date with the master branch.

If you have any questions about your code changes or any of the points above, please submit your questions along with the pull request and we will try our best to help!

Description of Changes

Add week, weeks to timeframes in class ThaiLocale for fixing
"ValueError: Humanization of the 'weeks' granularity is not currently translated in the 'th' locale. Please consider making a contribution to this locale"

Copy link

codecov bot commented Jul 24, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (403c29f) to head (8f52f6e).
⚠️ Report is 16 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##            master     #1218   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           10        10           
  Lines         2324      2335   +11     
  Branches       357       357           
=========================================
+ Hits          2324      2335   +11     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@krisfremen
Copy link
Member

@Hope1010 Thanks for contributing!

Can you just run pre commit to fix up the linting errors?

Cheers

@Hope1010
Copy link
Contributor Author

@Hope1010 Thanks for contributing!

Can you just run pre commit to fix up the linting errors?

Cheers

Yes, I will try.

@Hope1010
Copy link
Contributor Author

The reason the system tests are failing on Windows is because dateutil.tz doesn't recognize the new timezone 'America/Coyhaique'. This doesn't seem to be related to the code I modified, and it looks like I don't need to fix this part, do I? 🤔

Copy link
Member

@jadchaar jadchaar left a comment

Choose a reason for hiding this comment

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

LGTM. Windows tests are broken and will be fixed in #1217

@jadchaar jadchaar merged commit d8bf13d into arrow-py:master Aug 5, 2025
17 of 23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants