We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1fb46ff commit 1fe0794Copy full SHA for 1fe0794
pendulum/_extensions/helpers.py
@@ -28,7 +28,7 @@ def local_time(unix_time, utc_offset, microseconds):
28
:rtype: tuple
29
"""
30
year = EPOCH_YEAR
31
- seconds = math.floor(unix_time)
+ seconds = int(math.floor(unix_time))
32
33
# Shift to a base year that is 400-year aligned.
34
if seconds >= 0:
0 commit comments