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
8 years 4 months ago #1 by Habib Nofel

Please Log in or Create an account to join the conversation.

This is I attached the exact problem..

Best Regards,

Nofel
8 years 4 months ago #2 by Habib Nofel

Please Log in or Create an account to join the conversation.

  • Posted by TemplatePlazza (5310) Offline
Hi, I have checked your website, and seems everything goes fine. Please have alook on this video www.dropbox.com/s/2dxizk6jdnxdrkj/lnddtime.mp4?raw=1 Am I missing something?
8 years 4 months ago #3 by TemplatePlazza

Please Log in or Create an account to join the conversation.

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

8 years 4 months ago #4 by Habib Nofel

Please Log in or Create an account to join the conversation.

  • Posted by TemplatePlazza (5310) Offline
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
8 years 4 months ago #5 by TemplatePlazza

Please Log in or Create an account to join the conversation.

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
8 years 4 months ago #6 by Habib Nofel

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum