Menu

#718 Problems with custom date format and the age calculation in profile

Version_2.4.4
closed
None
profile
5
2013-10-23
2013-04-21
No

Ich habe in der Organisation das Datumsformat "D d.m.y" eingestellt statt "d.m.Y"

Bisher habe ich folgende Probleme festgestellt:

  1. Im Benutzerprofil wird das Alter falsch berechnet. Statt 30 Jahren ist nun jemand 1930 Jahre alt

  2. 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.

Discussion

  • Markus Fassbender

    • assigned_to: Markus Fassbender
    • Priority: 1 --> 5
     
  • Markus Fassbender

    • summary: Organisations-Datumsformat führt an einigen Stellen zu Problemen --> Problems with custom date format and the age calculation in profile
     
  • Markus Fassbender

    • status: open --> closed
    • Module: system --> profile
    • Group: Version_2.4.0 --> Version_2.4.4
     
  • Markus Fassbender

    Fix the problem with the age.

    Generally the year should be 4 digits. Than everything works now.

     

Log in to post a comment.