fix errors in Protocoll namespace
This commit is contained in:
parent
d9ab7efcd6
commit
99603d3d90
10 changed files with 59 additions and 54 deletions
|
@ -417,7 +417,7 @@ class DFRN
|
|||
$t_dob = strtotime($bd);
|
||||
$now = strtotime(DateTimeFormat::timezoneNow($tz));
|
||||
if ($t_dob < $now) {
|
||||
$bd = $y + 1 . '-' . $tmp_dob . ' 00:00';
|
||||
$bd = (int) $y + 1 . '-' . $tmp_dob . ' 00:00';
|
||||
}
|
||||
$birthday = DateTimeFormat::convert($bd, 'UTC', $tz, DateTimeFormat::ATOM);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue