All Versions
13
Latest Version
Avg Release Cycle
71 days
Latest Release
1516 days ago

Changelog History
Page 1

  • v2.1.2 Changes

    July 24, 2020

    ๐Ÿ”„ Changed

    • โž• Added support for build scripts without the setup.py file generation in the editable builder (#2718).

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fixed an error occurring when using older lock files (#2717).
  • v2.1.1 Changes

    July 13, 2020

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fixed errors where invalid timezones were matched in from_format() (#374).
    • ๐Ÿ›  Fixed errors when subtracting negative timedeltas (#419).
    • ๐Ÿ›  Fixed errors in total units computation for durations with years and months (#482).
    • ๐Ÿ›  Fixed an error where the fold attribute was overridden when using replace() (#414).
    • ๐Ÿ›  Fixed an error where now() was not returning the correct result on DST transitions (#483).
    • ๐Ÿ›  Fixed inconsistent typing annotation for the parse() function (#452).

    Locales

    • โž• Added the pl locale (#459).
  • v2.1.0 Changes

    March 07, 2020

    โž• Added

    • โž• Added better typing and PEP-561 compliance (#320).
    • Added the is_anniversary() method as an alias of is_birthday() (#298).

    ๐Ÿ”„ Changed

    • โฌ‡๏ธ Dropped support for Python 3.4.
    • is_utc() will now return True for any datetime with an offset of 0, similar to the behavior in the 1.* versions (#295)
    • Duration.in_words() will now return 0 milliseconds for empty durations.

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fixed various issues with timezone transitions for some edge cases (#321, (#350)).
    • ๐Ÿ›  Fixed out of bound detection for nth_of("month") (#357).
    • ๐Ÿ›  Fixed an error where extra text was accepted in from_format() (#372).
    • ๐Ÿ›  Fixed a recursion error when adding time to a DateTime with a fixed timezone (#431).
    • ๐Ÿ›  Fixed errors where Period instances were not properly compared to other classes, especially timedelta instances (#427).
    • ๐Ÿ›  Fixed deprecation warnings due to internal regexps (#427).
    • ๐Ÿ›  Fixed an error where the test() helper would not unset the test instance when an exception was raised (#445).
    • Fixed an error where the week_of_month attribute was not returning the correct value (#446).
    • ๐Ÿ›  Fixed an error in the way the Z ISO-8601 UTC designator was not parsed as UTC (#448).

    Locales

    • โž• Added the nl locale.
    • โž• Added the it locale.
    • โž• Added the id locale.
    • โž• Added the nb locale.
    • โž• Added the nn locale.
  • v2.0.5 Changes

    July 03, 2019

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fixed ISO week dates not being parsed properly in from_format().
    • ๐Ÿ›  Fixed loading of some timezones with empty posix spec.
    • ๐Ÿ›  Fixed deprecation warnings.

    Locales

    • โž• Added RU locale.
  • v2.0.4 Changes

    October 30, 2018

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fixed from_format() not recognizing input strings when the specified pattern had escaped elements.
    • ๐Ÿ›  Fixed missing x token for string formatting.
    • ๐Ÿ›  Fixed reading timezone files.
    • โž• Added support for parsing padded 2-digit days of the month with from_format()
    • ๐Ÿ›  Fixed from_format() trying to parse escaped tokens.
    • ๐Ÿ›  Fixed the z token timezone parsing in from_format() to allow underscores.
    • ๐Ÿ›  Fixed C extensions build errors.
    • ๐Ÿ›  Fixed age calculation for future dates.
  • v2.0.3 Changes

    July 30, 2018

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fixed handling of pytz timezones.
    • ๐Ÿ›  Fixed some formatter's tokens handling.
    • ๐Ÿ›  Fixed errors on some systems when retrieving timezone from localtime files.
    • ๐Ÿ›  Fixed diff methods.
    • ๐Ÿ›  Fixed closest()/farthest() methods.
  • v2.0.2 Changes

    May 29, 2018

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fixed the weeks property for negative Period instances.
    • ๐Ÿ›  Fixed start_of() methods not setting microseconds to 0.
    • ๐Ÿ›  Fixed errors on some systems when retrieving timezone from clock files.
    • ๐Ÿ›  Fixed parsing of partial time.
    • ๐Ÿ›  Fixed parsing not raising an error for week 53 for ordinary years.
    • ๐Ÿ›  Fixed string formatting not supporting strftime format.
  • v2.0.1 Changes

    May 10, 2018

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fixed behavior of the YY token in from_format().
    • ๐Ÿ›  Fixed errors on some systems when retrieving timezone from clock files.
  • v2.0.0 Changes

    May 08, 2018

    โž• Added

    • โž• Added years and months support to durations.
    • Added the test_local_timezone() and set_local_timezone() helpers to ease testing.
    • โž• Added support of ISO 8601 duration parsing.
    • โž• Added support of ISO 8601 interval parsing.
    • โž• Added a local() helper.
    • โž• Added a naive() helper and a naive() method.
    • โž• Added support for POSIX specification to extend timezones DST transitions.

    ๐Ÿ”„ Changed

    • Pendulum class has been renamed to DateTime.
    • Interval class has been renamed to Duration.
    • ๐Ÿ”„ Changed and improved the timezone system.
    • โœ‚ Removed the create() helper.
    • โœ‚ Removed the utcnow() helper.
    • ๐Ÿ“œ strict keyword argument for parse has been renamed to exact.
    • ๐Ÿ‘ at() now supports setting partial time.
    • local, utc and is_dst are now methods rather than properties (is_local(), is_utc(), is_dst()).
    • ๐Ÿ”„ Changed the repr of most common objects.
    • 0๏ธโƒฃ Made the strict keyword argument for parse false by default, which means it will not fallback on the dateutil parser.
    • ๐Ÿ‘Œ Improved performances of the precise_diff() helper.
    • 0๏ธโƒฃ The alternative formatter is now the default one.
    • set_to_string_format()/reset_to_string_format() methods have been removed.
    • from_format() now uses the alternative formatter tokens.
    • โœ‚ Removed xrange() method of the Period class and made range() a generator.
    • ๐Ÿ†• New locale system which uses CLDR data for most of the translations.
    • diff_for_humans() now returns a few seconds where appropriate.
    • โœ‚ Removed Period.intersect().

    ๐Ÿš€ [Unreleased]: https://github.com/sdispater/pendulum/compare/2.1.1...master ๐Ÿš€ [2.1.1]: https://github.com/sdispater/pendulum/releases/tag/2.1.1 ๐Ÿš€ [2.1.0]: https://github.com/sdispater/pendulum/releases/tag/2.1.0 ๐Ÿš€ [2.0.5]: https://github.com/sdispater/pendulum/releases/tag/2.0.5 ๐Ÿš€ [2.0.4]: https://github.com/sdispater/pendulum/releases/tag/2.0.4 ๐Ÿš€ [2.0.3]: https://github.com/sdispater/pendulum/releases/tag/2.0.3 ๐Ÿš€ [2.0.2]: https://github.com/sdispater/pendulum/releases/tag/2.0.2 ๐Ÿš€ [2.0.1]: https://github.com/sdispater/pendulum/releases/tag/2.0.1 ๐Ÿš€ [2.0.0]: https://github.com/sdispater/pendulum/releases/tag/2.0.0

  • v1.5.1 Changes

    April 25, 2018
    • ๐Ÿ›  Fixed set() not acception the tz keyword argument.
    • ๐Ÿ›  Fixed datetime() not setting the timezone to UTC by default.