Avoid wrong birthdays
This commit is contained in:
parent
7f9711ffe6
commit
485e65871e
1 changed files with 2 additions and 1 deletions
|
@ -2421,6 +2421,7 @@ function diaspora_profile($importer,$xml,$msg) {
|
||||||
|
|
||||||
$birthday = str_replace('1000','1901',$birthday);
|
$birthday = str_replace('1000','1901',$birthday);
|
||||||
|
|
||||||
|
if ($birthday != "")
|
||||||
$birthday = datetime_convert('UTC','UTC',$birthday,'Y-m-d');
|
$birthday = datetime_convert('UTC','UTC',$birthday,'Y-m-d');
|
||||||
|
|
||||||
// this is to prevent multiple birthday notifications in a single year
|
// this is to prevent multiple birthday notifications in a single year
|
||||||
|
|
Loading…
Reference in a new issue