Releases: python-pendulum/pendulum
Releases · python-pendulum/pendulum
1.3.0
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 toparse()
which behaves exactly likestrict
.
Changed
- Dropped support for Python 3.2 and 3.3.
- The
classic
formatter infrom_format()
is now deprecated.
Fixed
- Fixed
th
locale. (Thanks to idxn)
1.2.5
Fixed
- Fixed normalization of microseconds in durations.
- Fixed microseconds not being included in
average()
. (Thanks to ericfrederich)
1.2.3
1.2.2
1.2.1
1.2.0
1.1.1
1.1.0
Added
- Added the
keep_time
keyword argument tonext()
/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.