from_format() (#374).fold attribute was overridden when using replace() (#414).now() was not returning the correct result on DST transitions (#483).parse() function (#452).pl locale (#459).is_anniversary() method as an alias of is_birthday() (#298).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.nth_of("month") (#357).from_format() (#372).DateTime with a fixed timezone (#431).Period instances were not properly compared to other classes, especially timedelta instances (#427).test() helper would not unset the test instance when an exception was raised (#445).week_of_month attribute was not returning the correct value (#446).Z ISO-8601 UTC designator was not parsed as UTC (#448).nl locale.it locale.id locale.nb locale.nn locale.from_format().from_format() not recognizing input strings when the specified pattern had escaped elements.x token for string formatting.from_format()from_format() trying to parse escaped tokens.z token timezone parsing in from_format() to allow underscores.age calculation for future dates.pytz timezones.diff methods.closest()/farthest() methods.weeks property for negative Period instances.start_of() methods not setting microseconds to 0.strftime format.YY token in from_format().test_local_timezone() and set_local_timezone() helpers to ease testing.local() helper.naive() helper and a naive() method.Pendulum class has been renamed to DateTime.Interval class has been renamed to Duration.create() helper.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()).repr of most common objects.strict keyword argument for parse false by default, which means it will not fallback on the dateutil parser.precise_diff() helper.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.xrange() method of the Period class and made range() a generator.diff_for_humans() now returns a few seconds where appropriate.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
set() not acception the tz keyword argument.datetime() not setting the timezone to UTC by default.