Skip to content

v4.1.2

Choose a tag to compare

@wolph wolph released this 13 Oct 08:37
· 5 commits to develop since this release
v4.1.2
4faa11d
  • Count the time that passed across a daylight saving change in timesince for a timezone-aware datetime, contributed by @pralav-25 in PR #56 and completed in PR #58. Two datetimes that share a tzinfo subtract by wall clock, so an hour went missing or was counted twice around the change. A pendulum datetime in the future across such a change is no longer described as -1 hours ago.
  • Raise the error of a tzinfo whose utcoffset() raises or returns something other than a timedelta from timesince, where 4.1.1 printed a wall-clock difference.