Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect extraction of account number for Iceland, Mauritius, Ireland, Seychelles, Portugal, Montenegro #544

Open
julienaltieri opened this issue May 7, 2024 · 0 comments
Assignees
Labels

Comments

@julienaltieri
Copy link

Describe the bug
Account number is not correct or missing for Iceland, Mauritius, Ireland, Seychelles, Portugal, Montenegro.

To Reproduce
run ibantools.extractIBAN(iban) from node.js (latest npm version)
Iceland image
Mauritius image
Ireland image
Seychelles image
Portugal image
Montenegro image

Note: I haven't checked all the countries but the pattern seems to be that it's incorrect when the country's IBAN format does not end with the account number. (more info on my testing source at the bottom)

Expected behavior
Account numbers should be correct and populated for all these countries.

Environment:
node.js ibantools v4.5.1

Additional context
To replicate easily and fix globally:

@Simplify Simplify added the bug label Jun 4, 2024
@Simplify Simplify self-assigned this Jun 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants