1b65f367b1
1.2.2 (2022-01-19) ------------------ - [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`` and ``requirements-tests.txt``. - [INTERNAL] Added ``flake8-annotations`` package for type linting in ``pre-commit``. 1.2.1 (2021-10-24) ------------------ - [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 a ``ValueError``. 1.2.0 (2021-09-12) ------------------ - [NEW] Added Albanian, Tamil and Zulu locales. - [NEW] Added support for ``Decimal`` as input to ``arrow.get()``. - [FIX] The Estonian, Finnish, Nepali and Zulu locales now support ``dehumanize``. - [FIX] Improved validation checks when using parser tokens ``A`` and ``hh``. - [FIX] Minor bug fixes to Catalan, Cantonese, Greek and Nepali locales. |
||
---|---|---|
.. | ||
DESCR | ||
distinfo | ||
Makefile | ||
PLIST |