diff options
author | adam <adam@pkgsrc.org> | 2022-07-11 13:32:24 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2022-07-11 13:32:24 +0000 |
commit | 7b33e89f5b8bda4d67e0e94867dbd9d30bc43196 (patch) | |
tree | 5e55f7d1a01cb2219fdc7609313c9e1ae7dbe79c /x11/xkbd | |
parent | 8909b1a4665c46367f0a4e8f213255c9ce9ce8ad (diff) | |
download | pkgsrc-7b33e89f5b8bda4d67e0e94867dbd9d30bc43196.tar.gz |
py-arrow: updated to 1.2.2
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.
Diffstat (limited to 'x11/xkbd')
0 files changed, 0 insertions, 0 deletions