Time in Latest Forum Posts Widget

Goofkop
User www
User www
Posts: 63
Joined: Sun Feb 26, 2017 8:33 am

Re: Time in Latest Forum Posts Widget

Post 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 );

?
Athlon
User w
User w
Posts: 12
Joined: Sun Feb 12, 2017 2:56 pm

Re: Time in Latest Forum Posts Widget

Post by Athlon »

Thanks - I'll try that and let you know.
User avatar
axew3
w3all User
w3all User
Posts: 2883
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: Time in Latest Forum Posts Widget

Post by axew3 »

no! it was example, but let me see, let you now as soon how you need to switch it
Goofkop
User www
User www
Posts: 63
Joined: Sun Feb 26, 2017 8:33 am

Re: Time in Latest Forum Posts Widget

Post by Goofkop »

Thank You Axew3!
Athlon
User w
User w
Posts: 12
Joined: Sun Feb 12, 2017 2:56 pm

Re: Time in Latest Forum Posts Widget

Post 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
User avatar
axew3
w3all User
w3all User
Posts: 2883
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: Time in Latest Forum Posts Widget

Post 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 ...
Post Reply