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 3a80bfe commit 2348e96Copy full SHA for 2348e96
kobo/apps/organizations/utils.py
@@ -12,8 +12,8 @@ def get_monthly_billing_dates(organization: Union[Organization, None]):
12
13
now = timezone.now().replace(tzinfo=pytz.UTC)
14
first_of_this_month = now.replace(day=1)
15
- # Using `days=31` gets the last day of the month
16
- last_of_this_month = first_of_this_month + relativedelta(days=31)
+ # Using `day=31` gets the last day of the month
+ last_of_this_month = first_of_this_month + relativedelta(day=31)
17
18
# If no organization, just use the calendar month
19
if not organization:
0 commit comments