Skip to content

Releases: python-pendulum/pendulum

1.3.0

25 Sep 20:18
1.3.0
bfc7313
Compare
Choose a tag to compare

Added

  • Added support for the alternative formatter's tokens in from_format().
  • Added a timezones module attribute to expose available timezones.
  • Added the exact keyword to parse() which behaves exactly like strict.

Changed

  • Dropped support for Python 3.2 and 3.3.
  • The classic formatter in from_format() is now deprecated.

Fixed

  • Fixed th locale. (Thanks to idxn)

1.2.5

04 Sep 12:33
1.2.5
1dfa24d
Compare
Choose a tag to compare

Fixed

  • Fixed normalization of microseconds in durations.
  • Fixed microseconds not being included in average(). (Thanks to ericfrederich)

1.2.3

19 Jun 00:41
1.2.3
d41a069
Compare
Choose a tag to compare

Fixed

  • Fixed behavior of some short timezones (like EST, MST or HST).
  • Fixed warning when building C extensions.

1.2.2

15 Jun 16:42
1.2.2
7bbb51b
Compare
Choose a tag to compare

Fixed

  • Fixed next() and previous() hanging when passed an invalid input.
  • Fixed wrong result when adding/subtracting a Period if a DST transition occurs.

1.2.1

07 Jun 17:27
1.2.1
357b8dc
Compare
Choose a tag to compare

Fixed

  • Fixed incorrect fold attribute on Python 3.6 when not passing a timezone. (Thanks to neonquill)

1.2.0

24 Mar 20:07
1.2.0
aee28f0
Compare
Choose a tag to compare

Added

  • Added support for EXIF-formatted strings in parser. (Thanks to emattiza)

Changed

  • Improved performances when parsing ISO 8601 string with C extensions.

Fixed

  • Fixed parsing of ISO 8601 week dates.
  • Fixed eu and sk locales. (Thanks to eumiro)

1.1.1

14 Mar 19:52
1.1.1
06b0085
Compare
Choose a tag to compare

Fixed

  • Fixed diff_for_humans() when crossing DST transitions.

1.1.0

14 Mar 19:48
1.1.0
c2a0a59
Compare
Choose a tag to compare

Added

  • Added the keep_time keyword argument to next()/previous() methods to keep time information.

Changed

  • Greatly improved diff() performance.
  • Improved diff_for_humans() method to display more intuitive strings on edge cases.
  • Formatting (with f-strings or format()) will now use the configured formatter.

1.0.2

04 Feb 19:28
1.0.2
651608d
Compare
Choose a tag to compare

Changed

  • Adds support for external tzinfo as timezones. (Thanks to iv597)

Fixed

  • Fixed day_of_year not returning the correct value. (Thanks to asrenzo)

1.0.1

25 Jan 21:34
1.0.1
f30bd40
Compare
Choose a tag to compare

Fixed

  • Fixed parsing, especially for strings in the form 31-01-01.