vkomulai/finnish-ssn

ageInYears is based only on years

Closed this issue · 2 comments

Example:

    // assuming it's 1.1.2016
    ssn.parse('311215A000J') // born in 31.12.2015
    // { ageInYears: 1, ... } should be 0

Thanks for reporting the bug.

Please close the issue if you can verify the fix.

Works great, thank you.