diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2012-06-04 18:09:35 +0200 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2012-06-04 18:09:35 +0200 |
commit | 8f027b68d64c1baa99b272d45f382c17310f1480 (patch) | |
tree | 396e3a0db22b10060c42ad3cec8640e87a96c3c2 /phpBB/viewtopic.php | |
parent | 4af503e11bc2c42654cf783f031bdb074fdd91ed (diff) | |
parent | b672fc7ae113c0e01f1d7ce4ffae3eb26e57b586 (diff) | |
download | forums-8f027b68d64c1baa99b272d45f382c17310f1480.tar forums-8f027b68d64c1baa99b272d45f382c17310f1480.tar.gz forums-8f027b68d64c1baa99b272d45f382c17310f1480.tar.bz2 forums-8f027b68d64c1baa99b272d45f382c17310f1480.tar.xz forums-8f027b68d64c1baa99b272d45f382c17310f1480.zip |
Merge branch 'feature/new-tz-handling' of https://github.com/p/phpbb3 into feature/new-tz-handling
Conflicts:
phpBB/includes/functions_profile_fields.php
phpBB/includes/session.php
phpBB/install/database_update.php
Diffstat (limited to 'phpBB/viewtopic.php')
-rw-r--r-- | phpBB/viewtopic.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/phpBB/viewtopic.php b/phpBB/viewtopic.php index b75f4aeccf..65237a7a02 100644 --- a/phpBB/viewtopic.php +++ b/phpBB/viewtopic.php @@ -986,7 +986,8 @@ $sql_ary = array( $sql = $db->sql_build_query('SELECT', $sql_ary); $result = $db->sql_query($sql); -$now = phpbb_gmgetdate(time() + $user->timezone + $user->dst); +$now = $user->create_datetime(); +$now = phpbb_gmgetdate($now->getTimestamp() + $now->getOffset()); // Posts are stored in the $rowset array while $attach_list, $user_cache // and the global bbcode_bitfield are built |