mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-05-06 00:48:46 -04:00
more gray for dashboard
This commit is contained in:
@@ -9,7 +9,7 @@ def get_current_financial_year():
|
||||
now = datetime.now(current_app.config['PY_TIMEZONE'])
|
||||
current_month = int(now.strftime('%-m'))
|
||||
current_year = int(now.strftime('%Y'))
|
||||
return current_year if current_month > 3 else current_year - 1
|
||||
return current_year if current_month > 9 else current_year - 1
|
||||
|
||||
|
||||
def is_less_than_days_ago(date_from_db, number_of_days):
|
||||
|
||||
Reference in New Issue
Block a user