Skip to content
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

add Sinhala locale #1044

Merged
merged 1 commit into from Sep 28, 2021
Merged

add Sinhala locale #1044

merged 1 commit into from Sep 28, 2021

Conversation

ChingYi-AX
Copy link
Contributor

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 Sinhala locale. Sinhala awares time frame format and describe function, takes into account the differences between general, past, and future forms (three different suffixes). So we do not copy the original timeframes dictionary as timeframes_only_distance, we wrote a new timeframes_only_distance dictionary :)

@codecov
Copy link

codecov bot commented Sep 22, 2021

Codecov Report

Merging #1044 (f93e659) into master (9b45719) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##            master     #1044   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           10        10           
  Lines         2168      2208   +40     
  Branches       345       348    +3     
=========================================
+ Hits          2168      2208   +40     
Impacted Files Coverage Δ
arrow/locales.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9b45719...f93e659. Read the comment docs.

@ChingYi-AX
Copy link
Contributor Author

@anishnya Just a reminder for you to review the PR when available. Thank you in advance ;)

@anishnya
Copy link
Member

@anishnya Just a reminder for you to review the PR when available. Thank you in advance ;)

Hey, sorry I didn't notice this PR. It looks good to me and I'll merge it in. Thank you for your contribution to Arrow!

@anishnya anishnya merged commit 2f54cb8 into arrow-py:master Sep 28, 2021
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.

None yet

2 participants