extrapolate days remaining with today, not the focused month

This commit is contained in:
Andrew Croce 2018-09-19 12:10:15 -04:00
parent 20f4e0fc57
commit 56eb480695

View File

@ -108,7 +108,7 @@ def workspace_reports(workspace_id):
# lets just say it expires on Christmas... ho ho ho
expiration_date = date(2018, 12, 25)
remaining_difference = expiration_date - current_month
remaining_difference = expiration_date - today
remaining_days = remaining_difference.days
return render_template(