-
-
Notifications
You must be signed in to change notification settings - Fork 2
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
[Q] - If the organisationsnummer is a personnummer and the person in question is above 100 years old, Shouldn't the Format function return a + separator? #38
Comments
This is likely something we have missed and I'd say that it's a bug and not intentional. Will take it up with the team and make sure this is how we handle it in all packages. Thank you for the report! |
Further research makes me think that I was wrong in that it is a bug and that it actually is intentional. |
Small update on this issue. I asked Bolagsverket, whom had no answer and redirected me to Skatteverket. Currently awaiting an answer from them. |
Thank you :) |
I finally got a response from Skatteverket (that took a while!), and they say that for enskild firma, it's supposed to be formatted as with a standard personnummer (that is, with a I will correct this asap (or you may open up a pull request if you wish!) in this and the other repos :) |
Fixed in latest release (1.2.0). Thank you again! |
Thank you :) |
First of all, this is a greate package :)
We have a few rows in our database that have a personnummer as there organisationsnummer and are above 100 years old.
If I use your personnummer library it respects the
+
in the number. But when parsing with this library and calling Format it will return with-
instead.Is there any specific reason why you whent with that solution? It seems intended, so Im woundering if there is any good reason for not returning a
+
in does occasions?Why do this?
Instead of just?
The text was updated successfully, but these errors were encountered: