Fix parse expiration bug

This commit is contained in:
zandercymatics 2023-11-01 09:48:24 -06:00
parent dca5bdef72
commit d807209029
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7

View file

@ -811,8 +811,8 @@ class ExtraTransitionDomain:
domain_name = row[0] domain_name = row[0]
date_format = "%Y-%m-%dT%H:%M:%SZ" date_format = "%Y-%m-%dT%H:%M:%SZ"
# TODO - add error handling # TODO - add error handling
creation_date = datetime.strptime(row[8], date_format) creation_date = datetime.strptime(row[7], date_format)
expiration_date = datetime.strptime(row[10], date_format) expiration_date = datetime.strptime(row[11], date_format)
dict_data[domain_name] = DomainEscrow( dict_data[domain_name] = DomainEscrow(
domain_name, creation_date, expiration_date domain_name, creation_date, expiration_date