Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pendulum/_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def local_time(
for a particular transition type.
"""
year = EPOCH_YEAR
seconds = int(math.floor(unix_time))
seconds = math.floor(unix_time)

# Shift to a base year that is 400-year aligned.
if seconds >= 0:
Expand Down
2 changes: 1 addition & 1 deletion pendulum/date.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def age(self) -> int:

@property
def quarter(self) -> int:
return int(math.ceil(self.month / 3))
return math.ceil(self.month / 3)

# String Formatting

Expand Down