my-koop/module.user — pull request #65 by Cellule (2014-12-02 05:17:41+00:00)
Title: Birthdate with date no time picker

Changed the birthdate field for a date picker and fixed the localisation problem.

The main issue is that the birthdate is stored with time 00:00, therefore once localized, in our timezone if I enter the date 1/2/1990 it shows 1/1/1990 because it does -5:00. What I did is to add 5:00 once the date has been localized. It's very hacky, but I don't how to do it otherwise. I think the birthdate really is the only case where we might have to do this, so as long as it works it should stay like this.

Oh and really nice, we never stored the birthdate at registration correctly.