personnummer / swift

Validate Swedish personal identity numbers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add coordination number flag.

frozzare opened this issue · comments

We need a flag on the ::Valid method making it possible to turn of validation for coordination number (+60 on day). The flag should default to enabling them as that is how it is currently working.

See personnummer/meta#9 for meta discussion.

Just out of curiosity, why would someone want to disable "samordningsnummer"?

That issue was created by someone not aware of what samordningsnummer is, I'd say it worked as intended for him. I vote against adding this flag.

Maybe, but it may be case where you want to disable this and we have a spec to follow for all implementations (see meta repo). It's not a big thing.

Oh, I wasn't aware of the meta repo. I guess it's already settled then 👍

I see now that I complettely missed you linked to meta.....