]> git.ipfire.org Git - thirdparty/python-fints.git/commitdiff
Default to date in the past
authorRaphael Michel <mail@raphaelmichel.de>
Wed, 25 Jul 2018 15:54:55 +0000 (17:54 +0200)
committerRaphael Michel <mail@raphaelmichel.de>
Thu, 26 Jul 2018 20:27:05 +0000 (22:27 +0200)
fints/client.py

index b4d370500d80bce359925fcd9ce27981fa363bbc..a1fbcbd8fd79b08c03818233e071a2b0a381f1f6 100644 (file)
@@ -277,7 +277,7 @@ class FinTS3Client:
             "IBAN": iban,
             "BIC": bic,
             "amount": int(Decimal(amount) * 100),  # in cents
-            "execution_date": datetime.date.today(),
+            "execution_date": datetime.date(1999, 1, 1),
             "description": reason,
             "endtoend_id": endtoend_id,
         }
@@ -306,8 +306,7 @@ class FinTS3Client:
             )))
 
         resp = dialog.send(self._get_start_sepa_transfer_message(
-            dialog, account, pain_message, tan_method, tan_description
-        ))
+            dialog, account, pain_message, tan_method, tan_description))
         logger.debug('Got HKCCS response: {}'.format(resp))
 
         seg = resp._find_segment('HITAN')