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 61c8abe commit 75a943dCopy full SHA for 75a943d
typed_python/lib/datetime/date_time.py
@@ -269,7 +269,7 @@ def firstOfMonth(self):
269
return Date(self.year, self.month, 1)
270
271
def quarterOfYear(self):
272
- return (self.date.month - 1) // 3 + 1
+ return (self.month - 1) // 3 + 1
273
274
def next(self, step: int = 1):
275
"""Returns the date `step` days ahead of `self`.
0 commit comments