fruitl00p / php-mt940

A mt940 parser in PHP
MIT License
103 stars 60 forks source link

Fix #48 for ABNAMRO files using a wrong entry date #49

Closed RobQuistNL closed 7 years ago

RobQuistNL commented 7 years ago

Issue

48

What has been done

Edited the regex to use the year of the value stamp and the date of the entry.

How to test

Import a mt940 ABNAMRO file with bookings from a different year. E.g. bookings from 2013 booked in on 2018 will end up as 2018.

fruitl00p commented 7 years ago

Even though i understand your issue the transaction date might differ for the year... Changing it to look at the value-date seems the wrong fix... (see also the discussion on the original issue)