This website can use cookies to improve the user experience

This website can use cookies to improve the user experience and to provide certain services and functions to users. Cookies contain small amounts of information (such as login information and user preferences) and will be stored on your device.

Enable All Cookies Privacy Policy

Wrong time


avatar
beo 0
From: -
Wrong time

I have moved site to US host and now 'Posted' time is wrong. (im CET) Any way to fix this in free version?

edit:

Also I would like to know how reduce space between Main and Extended News. Its always 3 lines. I want it 2.. thx
[Edited by beo on 2007-06-15 01:44:00]

Notice

This topic is archived. New comments cannot be posted and votes cannot be cast.

Responses to this topic


1 Re: Wrong time
avatar
Administrator
1342
From: Austria
Wrong time

I have moved site to US host and now 'Posted' time is wrong. (im CET) Any way to fix this in free version?

Add at the top (after global $insert Winking Face of the story, news_col_news and news templates the following code:

$offset = 3600 * 6; // 6 hours

$story_time = strtotime($insert[story_time]) + $offset;
$insert[story_time] = date("Y-m-d H:i:s",$story_time);

Also I would like to know how reduce space between Main and Extended News. Its always 3 lines. I want it 2..

You find the HTML code in template story

Notice

This topic is archived. New comments cannot be posted and votes cannot be cast.