| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
The docstring for get_birth_date() in the Swedish personnummer.py warned
that the datetime might be 100 years off because of the lack of
precision in the personnummer.
This was accurate when the docstring was written, but this is no longer
accurate after the - and + signs were correctly handled.
Fixes 5441ffa
|
|
|
|
|
| |
Fixes 5441ffa
Closes https://github.com/arthurdejong/python-stdnum/issues/188
|
|
|
|
|
|
|
|
|
|
|
| |
For people aged 100 and up, the minus/dash in the personnummer is
changed to a plus, on new year's eve the year they turn 100. See
Folkbokföringslagen (1991:481), §18.
This makes the - or + sign part of the number.
Closes https://github.com/arthurdejong/python-stdnum/issues/156
Closes https://github.com/arthurdejong/python-stdnum/pull/160
|
|
|
|
|
|
|
|
|
|
|
| |
The problem with the latter is that it will also accept all kinds of
unicode digits that are not the ASCII 0-9 digits causing all kinds of
problems in check digit calculations.
Some of these unicode characters are also considered digits by int() but
some are not (such as the SUPERSCRIPT TWO unicode character).
Closes https://github.com/arthurdejong/python-stdnum/issues/96
|
|
Closes https://github.com/arthurdejong/python-stdnum/pull/88
|