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

Added KW utils and extended civil ID validation #511

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

Mohd-3
Copy link

@Mohd-3 Mohd-3 commented Nov 8, 2024

All Changes

  • Add an entry to the docs/changelog.rst describing the change.

  • Add an entry for your name in the docs/authors.rst file if it's not
    already there.

  • Modified Kuwaiti Civil ID validation function because it used to allow invalid civil IDs (valid checksum but invalid century)

  • Added a function to extract birth date from a Kuwaiti Civil ID

  • Moved all the Civil ID validation logic from the form field to civil id validation function so it can be used anywhere not just in the form field

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant