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

impossibly set correct date of birth

motor2hg
#1 2009-01-29 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
This post was edited by motor2hg (2009-01-29 19:57, 15 years ago)
oc
#2 2009-01-29 22:11
It is probably because of datepicker/jquery process, but I don't exactly know why.
Trustmaster
#3 2009-01-30 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!
This post was edited by Trustmaster (2009-01-30 01:29, 15 years ago)