mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
Merge remote-tracking branch 'github-bantu/ticket/10243' into develop-olympus
* github-bantu/ticket/10243: [ticket/10243] Adding a few unit tests for phpbb_gmgetdate(). [ticket/10243] Call phpbb_gmgetdate() from various places. [ticket/10243] Adding wrapper function for getdate() for UTC timestamps.
This commit is contained in:
@@ -995,7 +995,7 @@ $sql = $db->sql_build_query('SELECT', array(
|
||||
|
||||
$result = $db->sql_query($sql);
|
||||
|
||||
$now = getdate(time() + $user->timezone + $user->dst - date('Z'));
|
||||
$now = phpbb_gmgetdate(time() + $user->timezone + $user->dst);
|
||||
|
||||
// Posts are stored in the $rowset array while $attach_list, $user_cache
|
||||
// and the global bbcode_bitfield are built
|
||||
|
Reference in New Issue
Block a user