Problems with custom date format and the age calculation in profile
Manage your organization online
Brought to you by:
fasse
Ich habe in der Organisation das Datumsformat "D d.m.y" eingestellt statt "d.m.Y"
Bisher habe ich folgende Probleme festgestellt:
Im Benutzerprofil wird das Alter falsch berechnet. Statt 30 Jahren ist nun jemand 1930 Jahre alt
Im Modul "Dates", wenn man ein Start- bzw. End-Datum eingibt, wird es im benutzerdefinierten Format im Formularfeld angezeigt. Soweit richtig. Aber das Datum (z.B. Sat 20.04.13) wird durch die Methode getDateFrom() falsch umgerechnet und ergibt so string(10) "13-04-20 0", was dann keinen Eintrag findet.
Ich kann mir vorstellen, dass es noch an einigen anderen Stellen Probleme geben kann, ich habe aber noch nicht rausgefunden, wo genau das Problem liegt.
Fix the problem with the age.
Generally the year should be 4 digits. Than everything works now.