All Versions
13
Latest Version
Avg Release Cycle
71 days
Latest Release
2148 days ago
Changelog History
Page 1
Changelog History
Page 1
-
v2.1.2 Changes
July 24, 2020 -
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
foldattribute was overridden when usingreplace()(#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
pllocale (#459).
- 🛠 Fixed errors where invalid timezones were matched in
-
v2.1.0 Changes
March 07, 2020➕ Added
- ➕ Added better typing and PEP-561 compliance (#320).
- Added the
is_anniversary()method as an alias ofis_birthday()(#298).
🔄 Changed
- ⬇️ Dropped support for Python 3.4.
is_utc()will now returnTruefor any datetime with an offset of 0, similar to the behavior in the1.*versions (#295)Duration.in_words()will now return0 millisecondsfor 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
DateTimewith a fixed timezone (#431). - 🛠 Fixed errors where
Periodinstances were not properly compared to other classes, especiallytimedeltainstances (#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_monthattribute was not returning the correct value (#446). - 🛠 Fixed an error in the way the
ZISO-8601 UTC designator was not parsed as UTC (#448).
Locales
- ➕ Added the
nllocale. - ➕ Added the
itlocale. - ➕ Added the
idlocale. - ➕ Added the
nblocale. - ➕ Added the
nnlocale.
-
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.
- 🛠 Fixed ISO week dates not being parsed properly in
-
v2.0.4 Changes
October 30, 2018🛠 Fixed
- 🛠 Fixed
from_format()not recognizing input strings when the specified pattern had escaped elements. - 🛠 Fixed missing
xtoken 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
ztoken timezone parsing infrom_format()to allow underscores. - 🛠 Fixed C extensions build errors.
- 🛠 Fixed
agecalculation for future dates.
- 🛠 Fixed
-
v2.0.3 Changes
July 30, 2018🛠 Fixed
- 🛠 Fixed handling of
pytztimezones. - 🛠 Fixed some formatter's tokens handling.
- 🛠 Fixed errors on some systems when retrieving timezone from localtime files.
- 🛠 Fixed
diffmethods. - 🛠 Fixed
closest()/farthest()methods.
- 🛠 Fixed handling of
-
v2.0.2 Changes
May 29, 2018🛠 Fixed
- 🛠 Fixed the
weeksproperty for negativePeriodinstances. - 🛠 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
strftimeformat.
- 🛠 Fixed the
-
v2.0.1 Changes
May 10, 2018🛠 Fixed
- 🛠 Fixed behavior of the
YYtoken infrom_format(). - 🛠 Fixed errors on some systems when retrieving timezone from clock files.
- 🛠 Fixed behavior of the
-
v2.0.0 Changes
May 08, 2018➕ Added
- ➕ Added years and months support to durations.
- Added the
test_local_timezone()andset_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 anaive()method. - ➕ Added support for POSIX specification to extend timezones DST transitions.
🔄 Changed
Pendulumclass has been renamed toDateTime.Intervalclass has been renamed toDuration.- 🔄 Changed and improved the timezone system.
- ✂ Removed the
create()helper. - ✂ Removed the
utcnow()helper. - 📜
strictkeyword argument forparsehas been renamed toexact. - 👍
at()now supports setting partial time. local,utcandis_dstare now methods rather than properties (is_local(),is_utc(),is_dst()).- 🔄 Changed the
reprof most common objects. - 0️⃣ Made the
strictkeyword argument forparsefalse by default, which means it will not fallback on thedateutilparser. - 👌 Improved performances of the
precise_diff()helper. - 0️⃣ The
alternativeformatter 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 thePeriodclass and maderange()a generator. - 🆕 New locale system which uses CLDR data for most of the translations.
diff_for_humans()now returnsa few secondswhere 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 thetzkeyword argument. - 🛠 Fixed
datetime()not setting the timezone toUTCby default.
- 🛠 Fixed