Foren / Cotonti / Bugs / Archive / Profile date of birth

impossibly set correct date of birth

motor2hg
#1 29. Januar 2009, 19:46
In the profile I impossibly set correct date of birth.
As an example I set my date of birth 1969 june 03 - press the button below.
Сome back in Profile and I can see 1969 june 01.

After my avatar upload date of birth be change 1969 may 28

Dieser Beitrag wurde von motor2hg (am 29. Januar 2009, 19:57, vor 15 Jahre) bearbeitet
oc
#2 29. Januar 2009, 22:11
It is probably because of datepicker/jquery process, but I don't exactly know why.
Trustmaster
#3 30. Januar 2009, 00:47
Datepicker is currently disabled. Seems like our old friend sed_mktime().

Yes, noticed this bug here. Seems like it depends on timezone too.

As we require PHP >= 5.1 for Cotonti, I made sed_mktime() just use mktime(). This should fix the bug. Please test the trunk.
May the Source be with you!

Dieser Beitrag wurde von Trustmaster (am 30. Januar 2009, 01:29, vor 15 Jahre) bearbeitet