github arrow-py/arrow 0.15.3
Version 0.15.3

latest releases: 1.3.0, 1.2.3, 1.2.2...
4 years ago
  • [NEW] factory.get() can now create arrow objects from a ISO calendar tuple, for example:
    >>> 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:
    >>> 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. See #703 for details.
  • [INTERNAL] Created Travis build for macOS.
  • [INTERNAL] Test parsing and formatting against full timezone database.

Don't miss a new arrow release

NewReleases is sending notifications on new releases.