Are you enjoying the extensions? Did you like the support? Help others decide.

Leave a review

lightbulb-o Show time in tool

More
10 years 9 months ago #2513 by admin
Replied by admin on topic Re: Show time in tool
Ok, I have one more idea:
the module is using the strtotime PHP function. I went to the API and read that the function actually uses the default time zone of the PHP.ini file (I thought it was using the date.timezone). I saw that your default time zone is set to 'UTC', not 'Europe/Athens'. That may be the problem. Try changing the default time zone. Hopefully that will do it.

Olivier.

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

More
10 years 9 months ago #2521 by manos2012
Replied by manos2012 on topic Re: Show time in tool
Good afternoon
I did this and that but nothing :(

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

More
10 years 9 months ago #2524 by admin
Replied by admin on topic Re: Show time in tool
I am not sure what is wrong with your configuration, so you can try this fix for your site:
in the module's directory, go to /tmpl/default.php.
Try and change the line 113 to:
$div_extra .= JHTML::_('date', $item->date, JText::_('DATE_FORMAT_LC3'));
It eliminates the PHP function strtotime which gives problem here. The hours should reflect the ones you see on K2. Please let me know how that works for you.

Olivier.

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

More
10 years 9 months ago #2525 by manos2012
Replied by manos2012 on topic Re: Show time in tool
Good afternoon and thank you for your help!
Unfortunately did nothing continues as before, as if nothing has changed

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

More
10 years 9 months ago #2526 by admin
Replied by admin on topic Re: Show time in tool
I am sorry, but I am out of options here.
Now that I think about it, I made you change the regular file, not the K2 one. Are your articles coming from K2?
If so, do the same as above but in tmpl/k2.php.

Olivier.

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

More
10 years 9 months ago #2527 by manos2012
Replied by manos2012 on topic Re: Show time in tool
I spent the change in K2.php and achieved

Thank you very much for your time
good evening :)

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