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 f3d0afc commit 8af563bCopy full SHA for 8af563b
pendulum/_helpers.py
@@ -92,7 +92,7 @@ def local_time(
92
for a particular transition type.
93
"""
94
year = EPOCH_YEAR
95
- seconds = int(math.floor(unix_time))
+ seconds = math.floor(unix_time)
96
97
# Shift to a base year that is 400-year aligned.
98
if seconds >= 0:
pendulum/date.py
@@ -84,7 +84,7 @@ def age(self) -> int:
84
85
@property
86
def quarter(self) -> int:
87
- return int(math.ceil(self.month / 3))
+ return math.ceil(self.month / 3)
88
89
# String Formatting
90
0 commit comments