need a TIME OFFSET to compensate server-time

Help
nyxyn
2012-03-22
2012-11-15
  • nyxyn
    nyxyn
    2012-03-22

    the server's time i am running the ajax chat on is incorrect. it's about a few minutes difference to the actual time.
    and i want the chat to show up the correct time.

    i tried to find the code-piece where the time for the chat-lines comes from.. but i couldn't yet.

    and to change the timezone-offset in the config.php file does not work:

    // Defines the timezone offset in seconds (-12*60*60 to 12*60*60) - if null, the server timezone is used:
    $config['timeZoneOffset'] = 450;
    

    does anybody know in which file & line of the ajax chat code the timestamp which is in front of every chat-message-line comes from?

    thanks for any help !

     
  • Dust
    Dust
    2012-03-25

    and to change the timezone-offset in the config.php file does not work

    That is strange. Anyway, that is in isChatOpen function.