Jump to content

Strange things happend... how to fix timezone problems?


internetserfer

Recommended Posts

Hi!

Using Revive Adserver (4.0.0) on SMF driven forum.  Users noticed and pointed me to the error with discrepancy posting time, ie, if the message was published at 20.30, it appears as published at 23.30.  Although the forum time displayed correctly with the selected time zone.  Long could not figure out what is the problem.. until not removed invocation code (Local Mode Tag) from forum pages... and time in messages was displayed correctlyCode coincidence causes such problems?

I started to understand ... but found nothing smarter than a change that line in .../ads/www/delivery/ck.php & lg.php:

from

date_default_timezone_set

to

date_default_timezone_get

looks stupid yea? :)

Now messages time displayed correctly too! But now all campaigns ends for three hours earlier, before their set the end time ::sad::  Eventually, where did come those three hours ???

Server timezone set to Europe/Moscow

All timezone settings (Administrator and Default Manager) the same.

What to do in my case?

Link to comment
Share on other sites

Thanks 4 answer!

Unfortunately, this type of invocation (async tags) does not suit me now...Due to one of the reasons:

========================================

"...no support for delivery on devices without JavaScript support...."

========================================

I need exactly local mode.. That's why I decided to ask

Regards.

Link to comment
Share on other sites

  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...