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

Importer: Swedish "personnummer" is not translated as date #1779

Open
ziggabyte opened this issue Feb 15, 2024 · 0 comments · May be fixed by #1981
Open

Importer: Swedish "personnummer" is not translated as date #1779

ziggabyte opened this issue Feb 15, 2024 · 0 comments · May be fixed by #1981
Assignees
Labels
🐜 bug Something isn't working

Comments

@ziggabyte
Copy link
Contributor

Description

When importing people, if the organization for example uses swedish "personnummer" as a person's date-of-birth, it is not possible to import this as a date as the importer as it only wants dates that are of a specific shape.

Steps to reproduce

  1. Start an import by going to orgs/1/people and selecting "import people" from the top right corner menu
  2. Select a file that has a column containing swedish "personnummer"
  3. Select to import this column as "Extra date"
  4. Also select an ID so that you can click "Validate" at the bottom right corner

Expected Behaviour

Recieve no errors

Actual Behaviour

You get an error message that the values are of the wrong format and cannot be imported as dates.

Screenshots (if you have any)

bild

Suggested solution

Use similar logic as in "gen 2" to do a special solution for the swedes.

@ziggabyte ziggabyte added the 🐜 bug Something isn't working label Feb 15, 2024
@alexandrakoch alexandrakoch self-assigned this Mar 2, 2024
@ziggabyte ziggabyte linked a pull request May 28, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐜 bug Something isn't working
Projects
None yet
2 participants