arrow-py/arrow (arrow)
### [`v0.17.0`](https://redirect.github.com/arrow-py/arrow/blob/HEAD/CHANGELOG.rst#0170-2020-10-2)
[Compare Source](https://redirect.github.com/arrow-py/arrow/compare/0.16.0...0.17.0)
- \[WARN] Arrow will **drop support** for Python 2.7 and 3.5 in the upcoming 1.0.0 release. This is the last major release to support Python 2.7 and Python 3.5.
- \[NEW] Arrow now properly handles imaginary datetimes during DST shifts. For example:
.. code-block:: python
>>> just_before = arrow.get(2013, 3, 31, 1, 55, tzinfo="Europe/Paris")
>>> just_before.shift(minutes=+10)
.. code-block:: python
>>> before = arrow.get("2018-03-10 23:00:00", "YYYY-MM-DD HH:mm:ss", tzinfo="US/Pacific")
>>> after = arrow.get("2018-03-11 04:00:00", "YYYY-MM-DD HH:mm:ss", tzinfo="US/Pacific")
>>> result=[(t, t.to("utc")) for t in arrow.Arrow.range("hour", before, after)]
>>> for r in result:
... print(r)
...
(, )
(, )
(, )
(, )
(, )
- \[NEW] Added `humanize` week granularity translation for Tagalog.
- \[CHANGE] Calls to the `timestamp` property now emit a `DeprecationWarning`. In a future release, `timestamp` will be changed to a method to align with Python's datetime module. If you would like to continue using the property, please change your code to use the `int_timestamp` or `float_timestamp` properties instead.
- \[CHANGE] Expanded and improved Catalan locale.
- \[FIX] Fixed a bug that caused `Arrow.range()` to incorrectly cut off ranges in certain scenarios when using month, quarter, or year endings.
- \[FIX] Fixed a bug that caused day of week token parsing to be case sensitive.
- \[INTERNAL] A number of functions were reordered in arrow.py for better organization and grouping of related methods. This change will have no impact on usage.
- \[INTERNAL] A minimum tox version is now enforced for compatibility reasons. Contributors must use tox >3.18.0 going forward.
### [`v0.16.0`](https://redirect.github.com/arrow-py/arrow/blob/HEAD/CHANGELOG.rst#0160-2020-08-23)
[Compare Source](https://redirect.github.com/arrow-py/arrow/compare/0.15.8...0.16.0)
- \[WARN] Arrow will **drop support** for Python 2.7 and 3.5 in the upcoming 1.0.0 release. The 0.16.x and 0.17.x releases are the last to support Python 2.7 and 3.5.
- \[NEW] Implemented `PEP 495 `\_ to handle ambiguous datetimes. This is achieved by the addition of the `fold` attribute for Arrow objects. For example:
.. code-block:: python
>>> before = Arrow(2017, 10, 29, 2, 0, tzinfo='Europe/Stockholm')
>>> before.fold
0
>>> before.ambiguous
True
>>> after = Arrow(2017, 10, 29, 2, 0, tzinfo='Europe/Stockholm', fold=1)
>>> after = before.replace(fold=1)
- \[NEW] Added `normalize_whitespace` flag to `arrow.get`. This is useful for parsing log files and/or any files that may contain inconsistent spacing. For example:
.. code-block:: python
>>> arrow.get("Jun 1 2005 1:33PM", "MMM D YYYY H:mmA", normalize_whitespace=True)
>>> arrow.get("2013-036 \t 04:05:06Z", normalize_whitespace=True)
Configuration
đ Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
đŠ Automerge: Disabled by config. Please merge this manually once you are satisfied.
â» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
đ Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR contains the following updates:
==0.15.8
->==0.17.0
Release Notes
arrow-py/arrow (arrow)
### [`v0.17.0`](https://redirect.github.com/arrow-py/arrow/blob/HEAD/CHANGELOG.rst#0170-2020-10-2) [Compare Source](https://redirect.github.com/arrow-py/arrow/compare/0.16.0...0.17.0) - \[WARN] Arrow will **drop support** for Python 2.7 and 3.5 in the upcoming 1.0.0 release. This is the last major release to support Python 2.7 and Python 3.5. - \[NEW] Arrow now properly handles imaginary datetimes during DST shifts. For example: .. code-block:: python >>> just_before = arrow.get(2013, 3, 31, 1, 55, tzinfo="Europe/Paris") >>> just_before.shift(minutes=+10)Configuration
đ Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
đŠ Automerge: Disabled by config. Please merge this manually once you are satisfied.
â» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
đ Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.