remove datetime.utcnow()

This commit is contained in:
Kenneth Kehl
2024-05-23 13:59:51 -07:00
parent 752a13fbd2
commit 905df17f65
83 changed files with 591 additions and 570 deletions

View File

@@ -1,5 +1,7 @@
from datetime import date, datetime, time, timedelta
from app.utils import utc_now
def get_months_for_financial_year(year):
return [
@@ -22,7 +24,7 @@ def get_calendar_year_dates(year):
def get_current_calendar_year():
now = datetime.utcnow()
now = utc_now()
current_year = int(now.strftime("%Y"))
year = current_year
return get_calendar_year(year)