fix errors in Protocoll namespace

This commit is contained in:
Art4 2024-12-06 22:55:58 +00:00
parent d9ab7efcd6
commit 99603d3d90
10 changed files with 59 additions and 54 deletions

View file

@ -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);
}