Skip to content
Commit 6e47f2f7 authored by David Kremer's avatar David Kremer Committed by Romain Bignon
Browse files

[bnporc] fix timestamp regex

The old pattern was

- find a (\d{6}) pattern in the libelle of the transaction.
- fallback to the 'creationDate' parameter in the JSON dictionary.

The step 1 was almost never performed because dates in the libelle are 8
digits wide.

The new algorithm is :

- find a (\d{8}) pattern in the libelle of the transaction (it occurs
  much more frequently).
- if no pattern is found, fallback to the 'creationDate' parameter.

Because of this, there is probably a large number of transaction which
are going to have their rdate field updated.
parent 4a95a870
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment