Start to refactor away from using camel case (Not sure why I did this in the first place)
This commit is contained in:
4
utils.py
4
utils.py
@@ -201,10 +201,6 @@ def get_date_info(input_date, selected_view):
|
||||
last_day_of_year = input_date.replace(
|
||||
year=input_date.year+1, month=1, day=1) - timedelta(days=1)
|
||||
|
||||
# Next/previous week
|
||||
next_week = input_date + timedelta(weeks=1)
|
||||
prev_week = input_date - timedelta(weeks=1)
|
||||
|
||||
# Next/previous month
|
||||
year, month = divmod(input_date.year * 12 + input_date.month, 12)
|
||||
next_month = date(year, month + 1, 1)
|
||||
|
||||
Reference in New Issue
Block a user