Quote

We're also available for Custom Joomla Development

Hire us now

Latesnews + Modul

Dear Template Plaza,

I have installed the module latest news +, but it looks like viewing hours are not the same (depending 5 hours) with clock local I am (Server Time Zone: ASIA / Jakarta), whereas the other modules is appropriate to follow the serving hours at Server Time Zone that already exist. Please support me to solve this problem. Thank you for your attention.

Best Regards,

Nofel
Resolved
The discussion has been resolved.
       
  • Replied by khomenx on Saturday, December 17 2016, 11:50 AM · Hide· #1
    This is I attached the exact problem..

    Best Regards,

    Nofel
  •  
  • Replied by admin on Saturday, December 17 2016, 12:36 PM · Hide· #2
    Hi, I have checked your website, and seems everything goes fine. Please have alook on this video https://www.dropbox.com/s/2dxizk6jdnxdrkj/lnddtime.mp4?raw=1 Am I missing something?
    • khomenx - more than a month ago
      Yes, now the problem solved, because I already find the problem. Thank you for your support..


      I changed this file:
      /libraries/joomla/utilities/date.php

      Line 302:
      // If the returned time should not be local use GMT.
      if ($local == false)
      {
      parent::setTimezone(self::$gmt);
      }



      I changed with this:

      // If the returned time should not be local use GMT.
      if ($local == true)


      Best Regards,

      Habib Nofel
    Please post rating at the Joomla! Extensions Directory - http://extensions.joomla.org/profile/profile/details/264
  •  
  • Replied by khomenx on Saturday, December 17 2016, 12:46 PM · Hide· #3
    PROBLEM SOLVED.

    I changed this file:
    /libraries/joomla/utilities/date.php

    Line 302:
    // If the returned time should not be local use GMT.
    if ($local == false)
    {
    parent::setTimezone(self::$gmt);
    }



    I changed with this:

    // If the returned time should not be local use GMT.
    if ($local == true)


    ----------------------
    Don't forget visit my website: www.republikmurah.com
  •  
  • Replied by admin on Saturday, December 17 2016, 12:53 PM · Hide· #4
    Hi, I wouldn't recommend you to hack the core file, as it will be overriden by new Joomla update. Have you tried to change the server time zone from the joomla backend? https://www.dropbox.com/s/zh4jlgkem5fxn8x/n8wu1.jpg?raw=1
    Please post rating at the Joomla! Extensions Directory - http://extensions.joomla.org/profile/profile/details/264
  •  
  • Replied by khomenx on Saturday, December 17 2016, 01:29 PM · Hide· #5
    Helo,
    yes I already change it (server time zone), but it doesn't work..

    but now the problem was solved because I changed this file in Line 302:
    /libraries/joomla/utilities/date.php

    with this:

    if ($local == true)

    ------------------------------------

    BEFORE I CHANGE :

    Line 302:
    // If the returned time should not be local use GMT.
    if ($local == false)
    {
    parent::setTimezone(self::$gmt);
    }


    AFTER :

    // If the returned time should not be local use GMT.
    if ($local == true)

    Now the problem SOLVED.

    Thank you for your support. :)

    Best Regards,

    Habib Nofel
    www.republikmurah.com
  •  
  •  
    Replied by admin on Saturday, December 17 2016, 01:58 PM · Hide· #6
    Ah ok then. Glad it works for you;)
    Please post rating at the Joomla! Extensions Directory - http://extensions.joomla.org/profile/profile/details/264
Your Response
Please login first in order for you to submit comments