mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 14:00:31 +02:00
Correctly display future dates (Bug #38755)
git-svn-id: file:///svn/phpbb/trunk@9299 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -818,7 +818,7 @@ class phpbb_user extends phpbb_session
|
||||
$midnight = gmmktime(0, 0, 0, $m, $d, $y) - $date_cache[$format]['zone_offset'];
|
||||
}
|
||||
|
||||
if ($date_cache[$format]['is_short'] !== false && !$forcedate)
|
||||
if ($date_cache[$format]['is_short'] !== false && !$forcedate && !($gmepoch < $midnight - 86400 || $gmepoch > $midnight + 172800))
|
||||
{
|
||||
$day = false;
|
||||
|
||||
|
Reference in New Issue
Block a user