summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYingtong Li <runassudo@yingtongli.me>2020-10-05 00:32:17 +1100
committerYingtong Li <runassudo@yingtongli.me>2020-10-05 00:32:17 +1100
commit057a97b33a03df3db7f051cab10d71192bcc0391 (patch)
tree10dd9d00272afdbfae40f57d1e85bfd063c9b28a
parent2dde94483fec22691530fb126ae9f54f9c3b7699 (diff)
Fix logic error resulting in ABA dates with incorrect timezone
-rw-r--r--sstreasury/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sstreasury/views.py b/sstreasury/views.py
index 69033a8..94cfb8e 100644
--- a/sstreasury/views.py
+++ b/sstreasury/views.py
@@ -682,7 +682,7 @@ def claim_processing(request):
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
num_records = 0
Contact (issues, pull requests, etc.) at git@yingtongli.me. Generated by cgit.