mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[feature/class-prefix] Rename user and session to phpbb_*
PHPBB-10609
This commit is contained in:
@@ -555,7 +555,7 @@ class custom_profile
|
||||
{
|
||||
global $user;
|
||||
// Date should display as the same date for every user regardless of timezone, so remove offset
|
||||
// to compensate for the offset added by user::format_date()
|
||||
// to compensate for the offset added by phpbb_user::format_date()
|
||||
return $user->format_date(gmmktime(0, 0, 0, $month, $day, $year) - ($user->timezone + $user->dst), $user->lang['DATE_FORMAT'], true);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user