mirror of
https://github.com/friendica/friendica
synced 2025-04-26 14:30:13 +00:00
"dob" is not a date field, so the changes are reverted
This commit is contained in:
parent
e301fa0832
commit
a2a171af06
5 changed files with 10 additions and 10 deletions
|
@ -628,7 +628,7 @@ function advanced_profile(App $a) {
|
|||
if($a->profile['gender']) $profile['gender'] = array( t('Gender:'), $a->profile['gender'] );
|
||||
|
||||
|
||||
if(($a->profile['dob']) && ($a->profile['dob'] > '0001-01-01')) {
|
||||
if(($a->profile['dob']) && ($a->profile['dob'] != '0000-00-00')) {
|
||||
|
||||
$year_bd_format = t('j F, Y');
|
||||
$short_bd_format = t('j F');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue