localtime is correct in Profile:
After removing that code, the localtime is still one hour early in showthread...
This is what I still have left in showthread.php - before
PHP Code:
$post['musername'] = fetch_musername($post);
$post['islastshown'] = ($post['postid'] == $lastpostid);
$post['attachments'] = &$postattach["$post[postid]"];
I have
PHP Code:
// Local Date and Time in Post
$post['tzoffset'] = $post['timezoneoffset'];
if ($post['dstonoff'])
{
// DST is on, add an hour
$post['tzoffset']++;
}
$post['localtime'] = date($vboptions['timeformat'], TIMENOW+($post['tzoffset']-$vboptions['timeoffset'])*3600);
$post['localdate'] = date($vboptions['dateformat'], TIMENOW+($post['tzoffset']-$vboptions['timeoffset'])*3600);
// Local Date and Time in Post