Page 2 of 5

Re: Time in Latest Forum Posts Widget

Posted: Mon Mar 06, 2017 4:20 pm
by Goofkop
So i must replace the code: date_i18n( 'H:i Y-m-d', $value->topic_last_post_time ) in php_last_topics.php

with this code: date_i18n( $dateformatstring, $unixtimestamp, $gmt );

?

Re: Time in Latest Forum Posts Widget

Posted: Mon Mar 06, 2017 4:45 pm
by Athlon
Thanks - I'll try that and let you know.

Re: Time in Latest Forum Posts Widget

Posted: Mon Mar 06, 2017 4:48 pm
by axew3
no! it was example, but let me see, let you now as soon how you need to switch it

Re: Time in Latest Forum Posts Widget

Posted: Mon Mar 06, 2017 4:55 pm
by Goofkop
Thank You Axew3!

Re: Time in Latest Forum Posts Widget

Posted: Mon Mar 06, 2017 4:57 pm
by Athlon
Not working yet, but I may not be replacing the code correctly.
no! it was example, but let me see, let you now as soon how you need to switch it
Ahh - thanks - I'll wait for you to be done.

:D

Re: Time in Latest Forum Posts Widget

Posted: Mon Mar 06, 2017 10:37 pm
by axew3
so i had think that Setting -> General of WP settings, adjusting to UTC +1 for example, as i've try also here at axew3.com,
the widget will have to display correctly the time, with correct hour moved on of 1 hour.

Instead it do not work, so i've not understand something ... it should be a crazy simple thing ...