From: Raphael Michel Date: Wed, 25 Jul 2018 15:54:55 +0000 (+0200) Subject: Default to date in the past X-Git-Tag: v1.0.0~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1d06c39c3b178054643b107b6a3a3ce62bca87ff;p=thirdparty%2Fpython-fints.git Default to date in the past --- diff --git a/fints/client.py b/fints/client.py index b4d3705..a1fbcbd 100644 --- a/fints/client.py +++ b/fints/client.py @@ -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')