Overview
Request 761075 accepted
- specfile:
* update copyright year
- update to version 0.15.5:
* [WARN] Python 2 reached EOL on 2020-01-01. arrow will drop support
for Python 2 in a future release to be decided (see #739).
* [NEW] Added bounds parameter to span_range, interval and span
methods. This allows you to include or exclude the start and end
values.
* [NEW] arrow.get() can now create arrow objects from a timestamp
with a timezone, for example:
>>> arrow.get(1367900664, tzinfo=tz.gettz('US/Pacific'))
* [NEW] humanize can now combine multiple levels of granularity, for
example:
>>> later140 = arrow.utcnow().shift(seconds=+8400)
>>> later140.humanize(granularity="minute")
'in 139 minutes'
>>> later140.humanize(granularity=["hour", "minute"])
'in 2 hours and 19 minutes'
* [NEW] Added Hong Kong locale (zh_hk).
* [NEW] Added humanize week granularity translation for Dutch.
* [NEW] Numbers are now displayed when using the seconds granularity
in humanize.
* [CHANGE] range now supports both the singular and plural forms of
the frames argument (e.g. day and days).
* [FIX] Improved parsing of strings that contain punctuation.
* [FIX] Improved behaviour of humanize when singular seconds are
involved.
- Created by scarabeus_iv
- In state accepted
- Supersedes 760914
Request History
scarabeus_iv created request
- specfile:
* update copyright year
- update to version 0.15.5:
* [WARN] Python 2 reached EOL on 2020-01-01. arrow will drop support
for Python 2 in a future release to be decided (see #739).
* [NEW] Added bounds parameter to span_range, interval and span
methods. This allows you to include or exclude the start and end
values.
* [NEW] arrow.get() can now create arrow objects from a timestamp
with a timezone, for example:
>>> arrow.get(1367900664, tzinfo=tz.gettz('US/Pacific'))
* [NEW] humanize can now combine multiple levels of granularity, for
example:
>>> later140 = arrow.utcnow().shift(seconds=+8400)
>>> later140.humanize(granularity="minute")
'in 139 minutes'
>>> later140.humanize(granularity=["hour", "minute"])
'in 2 hours and 19 minutes'
* [NEW] Added Hong Kong locale (zh_hk).
* [NEW] Added humanize week granularity translation for Dutch.
* [NEW] Numbers are now displayed when using the seconds granularity
in humanize.
* [CHANGE] range now supports both the singular and plural forms of
the frames argument (e.g. day and days).
* [FIX] Improved parsing of strings that contain punctuation.
* [FIX] Improved behaviour of humanize when singular seconds are
involved.
factory-auto added opensuse-review-team as a reviewer
Please review sources
factory-auto accepted review
Check script succeeded
licensedigger accepted review
ok
namtrac accepted review
dimstar_suse set openSUSE:Factory:Staging:G as a staging project
Being evaluated by staging project "openSUSE:Factory:Staging:G"
dimstar_suse accepted review
Picked "openSUSE:Factory:Staging:G"
dimstar_suse accepted review
Staging Project openSUSE:Factory:Staging:G got accepted.
dimstar_suse approved review
Staging Project openSUSE:Factory:Staging:G got accepted.
dimstar_suse accepted request
Staging Project openSUSE:Factory:Staging:G got accepted.