Форумы / Cotonti / Bugs / Archive / Profile date of birth

impossibly set correct date of birth

motor2hg
#1 29.01.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
Отредактировано: motor2hg (29.01.2009 19:57, 15 лет назад)
oc
#2 29.01.2009 22:11
It is probably because of datepicker/jquery process, but I don't exactly know why.
Trustmaster
#3 30.01.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!
Отредактировано: Trustmaster (30.01.2009 01:29, 15 лет назад)