Page MenuHomeSolus

Update python-arrow to 0.15.5
ClosedPublic

Authored by algent on Sat, Feb 8, 4:46 PM.

Details

Summary

Changelog:

  • [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
  • [NEW] humanize can now combine multiple levels of granularity
  • [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.

Signed-off-by: Algent Albrahimi <algent@protonmail.com>

Test Plan
  • Run rapid-photo-downloader and topydo
  • Run python-arrow usage examples in thonny

Diff Detail

Repository
R2551 python-arrow
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

algent created this revision.Sat, Feb 8, 4:46 PM
algent requested review of this revision.Sat, Feb 8, 4:46 PM
DataDrake accepted this revision.Wed, Feb 12, 3:42 PM
DataDrake added a subscriber: DataDrake.

LGTM. Thanks!

This revision is now accepted and ready to land.Wed, Feb 12, 3:42 PM
This revision was automatically updated to reflect the committed changes.