mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-15 17:17:02 +02:00
Fix bad logic
This commit is contained in:
parent
942422b7bf
commit
1f1a537752
1 changed files with 1 additions and 1 deletions
|
@ -1161,7 +1161,7 @@ class DomainAdmin(ListHeaderAdmin):
|
|||
logger.warning("current expiration date not set; setting to today")
|
||||
exp_date = date.today()
|
||||
|
||||
desired_date = exp_date + relativedelta(years=1)
|
||||
desired_date = date.today() + relativedelta(years=1)
|
||||
month_length = self._month_diff(desired_date, exp_date)
|
||||
|
||||
try:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue