Fix logic error resulting in ABA dates with incorrect timezone

This commit is contained in:
Yingtong Li 2020-10-05 00:32:17 +11:00
parent 2dde94483f
commit 057a97b33a
Signed by: RunasSudo
GPG Key ID: 7234E476BF21C61A

View File

@ -682,7 +682,7 @@ def claim_processing(request):
aba_file = io.BytesIO() aba_file = io.BytesIO()
aba.write_descriptive(aba_file, bank_name=settings.ABA_BANK_NAME, user_name=settings.ABA_USER_NAME, bank_code=settings.ABA_BANK_CODE, description='Reimburse', date=timezone.now()) aba.write_descriptive(aba_file, bank_name=settings.ABA_BANK_NAME, user_name=settings.ABA_USER_NAME, bank_code=settings.ABA_BANK_CODE, description='Reimburse', date=timezone.localtime(timezone.now()))
# CommBank requires only one entry per payee # CommBank requires only one entry per payee
num_records = 0 num_records = 0