mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 13:48:55 +00: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:
parent
950842de5c
commit
d3fa81c261
1 changed files with 1 additions and 1 deletions
|
@ -818,7 +818,7 @@ class phpbb_user extends phpbb_session
|
||||||
$midnight = gmmktime(0, 0, 0, $m, $d, $y) - $date_cache[$format]['zone_offset'];
|
$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;
|
$day = false;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue