This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
arrow (source) | dependencies | minor |
==1.1.1 -> ==1.2.2
|
v1.2.2
dehumanize
.xelatex
for pdf generation in documentation.requirements.txt
, requirements-docs.txt
and requirements-tests.txt
.flake8-annotations
package for type linting in pre-commit
.v1.2.1
.. 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'
humanize
now raises a ValueError
.v1.2.0
Decimal
as input to arrow.get()
.dehumanize
.A
and hh
.This MR has been generated by Renovate Bot.