2020-05-07 06:56:30 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message: py-arrow: updated to 0.15.6 0.15.6: - [NEW] Added support for parsing and formatting `ISO 8601 week dates \ <https://en.wikipedia.org/wiki/ISO_week_date>`_ via a new token ``W``, for \ example: .. code-block:: python >>> arrow.get("2013-W29-6", "W") <Arrow [2013-07-20T00:00:00+00:00]> >>> utc=arrow.utcnow() >>> utc <Arrow [2020-01-23T18:37:55.417624+00:00]> >>> utc.format("W") '2020-W04-4' - [NEW] Formatting with ``x`` token (microseconds) is now possible, for example: .. code-block:: python >>> dt = arrow.utcnow() >>> dt.format("x") '1585669870688329' >>> dt.format("X") '1585669870' - [NEW] Added ``humanize`` week granularity translation for German, Italian, \ Polish & Taiwanese locales. - [FIX] Consolidated and simplified German locales. - [INTERNAL] Moved testing suite from nosetest/Chai to pytest/pytest-mock. - [INTERNAL] Converted xunit-style setup and teardown functions in tests to \ pytest fixtures. - [INTERNAL] Setup Github Actions for CI alongside Travis. - [INTERNAL] Help support Arrow's future development by donating to the project \ on `Open Collective <https://opencollective.com/arrow>`_. |
2020-01-09 13:06:17 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message: py-arrow: updated to 0.15.5 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. - [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: .. code-block:: python >>> arrow.get(1367900664, tzinfo=tz.gettz('US/Pacific')) <Arrow [2013-05-06T21:24:24-07:00]> - [NEW] ``humanize`` can now combine multiple levels of granularity, for example: .. code-block:: python >>> 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. |
2019-11-15 15:09:45 by Adam Ciarcinski | Files touched by this commit (3) | |
Log message: py-arrow: updated to 0.15.4 0.15.4: - [FIX] Fixed an issue that caused package installs to fail on Conda Forge. 0.15.3: - [NEW] ``factory.get()`` can now create arrow objects from a ISO calendar \ tuple, for example: .. code-block:: python >>> arrow.get((2013, 18, 7)) <Arrow [2013-05-05T00:00:00+00:00]> - [NEW] Added a new token ``x`` to allow parsing of integer timestamps with \ milliseconds and microseconds. - [NEW] Formatting now supports escaping of characters using the same syntax as \ parsing, for example: .. code-block:: python >>> arw = arrow.now() >>> fmt = "YYYY-MM-DD h [h] m" >>> arw.format(fmt) '2019-11-02 3 h 32' - [NEW] Added ``humanize`` week granularity translations for Chinese, Spanish \ and Vietnamese. - [CHANGE] Added ``ParserError`` to module exports. - [FIX] Added support for midnight at end of day. - [INTERNAL] Created Travis build for macOS. - [INTERNAL] Test parsing and formatting against full timezone database. 0.15.2: - [NEW] Added ``humanize`` week granularity translations for Portuguese and \ Brazilian Portuguese. - [NEW] Embedded changelog within docs and added release dates to versions. - [FIX] Fixed a bug that caused test failures on Windows only. 0.15.1: - [NEW] Added ``humanize`` week granularity translations for Japanese. - [FIX] Fixed a bug that caused Arrow to fail when passed a negative timestamp \ string. - [FIX] Fixed a bug that caused Arrow to fail when passed a datetime object with \ ``tzinfo`` of type ``StaticTzInfo``. 0.15.0: - [NEW] Added support for DDD and DDDD ordinal date tokens. The following \ functionality is now possible: ``arrow.get("1998-045")``, \ ``arrow.get("1998-45", "YYYY-DDD")``, \ ``arrow.get("1998-045", "YYYY-DDDD")``. - [NEW] ISO 8601 basic format for dates and times is now supported (e.g. \ ``YYYYMMDDTHHmmssZ``). - [NEW] Added ``humanize`` week granularity translations for French, Russian and \ Swiss German locales. - [CHANGE] Timestamps of type ``str`` are no longer supported **without a format \ string** in the ``arrow.get()`` method. This change was made to support the ISO \ 8601 basic format and to address bugs. The following will NOT work in v0.15.0: .. code-block:: python >>> arrow.get("1565358758") >>> arrow.get("1565358758.123413") The following will work in v0.15.0: .. code-block:: python >>> arrow.get("1565358758", "X") >>> arrow.get("1565358758.123413", "X") >>> arrow.get(1565358758) >>> arrow.get(1565358758.123413) - [CHANGE] When a meridian token (a|A) is passed and no meridians are available \ for the specified locale (e.g. unsupported or untranslated) a ``ParserError`` is \ raised. - [CHANGE] The timestamp token (``X``) will now match float timestamps of type \ ``str``: ``arrow.get(“1565358758.123415”, “X”)``. - [CHANGE] Strings with leading and/or trailing whitespace will no longer be \ parsed without a format string. Please see `the docs \ <https://arrow.readthedocs.io/en/latest/#regular-expressions>`_ for ways \ to handle this. - [FIX] The timestamp token (``X``) will now only match on strings that \ **strictly contain integers and floats**, preventing incorrect matches. - [FIX] Most instances of ``arrow.get()`` returning an incorrect ``Arrow`` \ object from a partial parsing match have been eliminated. |
2019-09-06 15:37:14 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message: py-arrow: updated to 0.14.7 0.14.7 - [CHANGE] `ArrowParseWarning` will no longer be printed on every call to \ `arrow.get()` with a datetime string. The purpose of the warning was to start a \ conversation about the upcoming 0.15.0 changes and we appreciate all the \ feedback that the community has given us! 0.14.6 - [NEW] Added support for `week` granularity in `Arrow.humanize()`. For example, \ `arrow.utcnow().shift(weeks=-1).humanize(granularity="week")` outputs \ "a week ago". This change introduced two new untranslated words, \ `week` and `weeks`, to all locale dictionaries, so locale contributions are \ welcome! - [NEW] Fully translated the Brazilian Portugese locale. - [CHANGE] Updated the Macedonian locale to inherit from a Slavic base. - [FIX] Fixed a bug that caused `arrow.get()` to ignore tzinfo arguments of type \ string (e.g. `arrow.get(tzinfo="Europe/Paris")`). - [FIX] Fixed a bug that occurred when `arrow.Arrow()` was instantiated with a \ `pytz` tzinfo object. - [FIX] Fixed a bug that caused Arrow to fail when passed a sub-second token, \ that when rounded, had a value greater than 999999 (e.g. \ `arrow.get("2015-01-12T01:13:15.9999995")`). Arrow should now \ accurately propagate the rounding for large sub-second tokens. |
2019-08-26 12:38:11 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message: py-arrow: updated to 0.14.5 0.14.5 - [NEW] Added Afrikaans locale. - [CHANGE] Removed deprecated replace shift functionality. - [FIX] Fixed bug that occurred when factory.get() was passed a locale kwarg. |
2019-08-03 06:35:13 by Adam Ciarcinski | Files touched by this commit (3) | |
Log message: py-arrow: updated to 0.14.4 0.14.4 - [FIX] Fixed a regression in 0.14.3 that prevented a tzinfo argument of type \ string to be passed to the get() function. Functionality such as \ arrow.get("2019072807", "YYYYMMDDHH", \ tzinfo="UTC") should work as normal again. - [CHANGE] Moved backports.functools_lru_cache dependency from extra_requires to \ install_requires for Python 2.7 installs to fix 0.14.3 - [NEW] Added full support for Python 3.8. - [CHANGE] Added warnings for upcoming factory.get() parsing changes in 0.15.0. \ Please see https://github.com/crsmithdev/arrow/issues/612 for full details. - [FIX] Extensive refactor and update of documentation. - [FIX] factory.get() can now construct from kwargs. - [FIX] Added meridians to Spanish Locale. |
2019-06-16 16:08:03 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message: py-arrow: updated to 0.14.2 0.14.2 - [CHANGE] Travis CI builds now use tox to lint and run tests. - [FIX] Fixed UnicodeDecodeError on certain locales. 0.14.1 - [FIX] Fixed "ImportError: No module named 'dateutil'". 0.14.0 - [NEW] Added provisional support for Python 3.8. - [CHANGE] Removed support for EOL Python 3.4. - [FIX] Updated setup.py with modern Python standards. - [FIX] Upgraded dependencies to latest versions. - [FIX] Enabled flake8 and black on travis builds. - [FIX] Formatted code using black and isort. |
2019-05-22 22:53:43 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message: py-arrow: updated to 0.13.2 0.13.2 - [NEW] Add is_between method. - [FIX] Improved humanize behaviour for near zero durations. - [FIX] Correct humanize behaviour with future days. - [FIX] Documentation updates. - [FIX] Improvements to German Locale. |
2019-02-19 10:48:22 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message: py-arrow: updated to 0.13.1 Version 0.13.1 Add support for Python 3.7. Remove deprecation decorators for Arrow.range(), Arrow.span_range() and \ Arrow.interval(). All now return generators, wrap with list() to get old \ behavior. |
2019-01-09 10:04:05 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message: py-arrow: updated to 0.13.0 0.13.0: Unknown changes |