pypi arrow 0.15.6
Version 0.15.6

latest releases: 1.3.0, 1.2.3, 1.2.2...
4 years ago
  • [NEW] Added support for parsing and formatting ISO 8601 week dates via a new token W, for example:
>>> 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:
>>> 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.

Don't miss a new arrow release

NewReleases is sending notifications on new releases.