Skip to content

Releases: python-pendulum/pendulum

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.

1.0.0

17 Jan 19:21
1.0.0
b18a35e
Compare
Choose a tag to compare

After more than 300 commits and 21 beta releases, pendulum finally reaches its first stable version.

What does that mean? Well, the API is now stable, so no backwards compatibility breaking changes will be introduced in any 1.x releases (pendulum will follow Semantic Versioning).

Changed

  • Using PRE_TRANSITION rule no longer produces a time in a DST gap.
  • Improved performances when adding time to a Pendulum instance.
  • Improved parsing of ISO 8601 strings.
  • Removed deprecated methods