arrow icon indicating copy to clipboard operation
arrow copied to clipboard

Allow timezones to be created directly within arrow

Open systemcatch opened this issue 3 years ago • 1 comments

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

WIP still lots to do but the basics are working.

>>> import arrow
>>> tz=arrow.timezone("Europe/London")
>>> tz
tzfile('/usr/share/zoneinfo/Europe/London')

closes #912

systemcatch avatar Apr 29 '21 20:04 systemcatch

Codecov Report

Merging #969 (b186602) into master (a2ebb7e) will not change coverage. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##            master      #969   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           10        10           
  Lines         2237      2243    +6     
  Branches       439       439           
=========================================
+ Hits          2237      2243    +6     
Impacted Files Coverage Δ
arrow/__init__.py 100.00% <100.00%> (ø)
arrow/api.py 100.00% <100.00%> (ø)
arrow/factory.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 a2ebb7e...b186602. Read the comment docs.

codecov[bot] avatar Apr 29 '21 20:04 codecov[bot]