Update dependency arrow to v1.2.2 (develop)
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
arrow (source) | dependencies | minor |
==1.1.1 -> ==1.2.2
|
Release Notes
arrow-py/arrow
v1.2.2
- [NEW] Added Kazakh locale.
- [FIX] The Belarusian, Bulgarian, Czech, Macedonian, Polish, Russian, Slovak and Ukrainian locales now support
dehumanize
. - [FIX] Minor bug fixes and improvements to ChineseCN, Indonesian, Norwegian, and Russian locales.
- [FIX] Expanded testing for multiple locales.
- [INTERNAL] Started using
xelatex
for pdf generation in documentation. - [INTERNAL] Split requirements file into
requirements.txt
,requirements-docs.txt
andrequirements-tests.txt
. - [INTERNAL] Added
flake8-annotations
package for type linting inpre-commit
.
v1.2.1
- [NEW] Added quarter granularity to humanize, for example:
.. code-block:: python
>>> import arrow
>>> now = arrow.now()
>>> four_month_shift = now.shift(months=4)
>>> now.humanize(four_month_shift, granularity="quarter")
'a quarter ago'
>>> four_month_shift.humanize(now, granularity="quarter")
'in a quarter'
>>> thirteen_month_shift = now.shift(months=13)
>>> thirteen_month_shift.humanize(now, granularity="quarter")
'in 4 quarters'
>>> now.humanize(thirteen_month_shift, granularity="quarter")
'4 quarters ago'
- [NEW] Added Sinhala and Urdu locales.
- [NEW] Added official support for Python 3.10.
- [CHANGED] Updated Azerbaijani, Hebrew, and Serbian locales and added tests.
- [CHANGED] Passing an empty granularity list to
humanize
now raises aValueError
.
v1.2.0
- [NEW] Added Albanian, Tamil and Zulu locales.
- [NEW] Added support for
Decimal
as input toarrow.get()
. - [FIX] The Estonian, Finnish, Nepali and Zulu locales now support
dehumanize
. - [FIX] Improved validation checks when using parser tokens
A
andhh
. - [FIX] Minor bug fixes to Catalan, Cantonese, Greek and Nepali locales.
Configuration
-
If you want to rebase/retry this MR, click this checkbox.
This MR has been generated by Renovate Bot.