• code222

    (@code222)


    it seems that your plugin is showing UTC times and not the one based on the settings in WordPress setting (“time zone”).

    In my country the time is UTC + 1, but UTC time is displayed in emails and chat, so one hour earlier.

    You can check this issue, thanks

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author wordplus

    (@wordplus)

    Will check this behaviour, I think it should use WP time, but will double check anyway.

    Thread Starter code222

    (@code222)

    Hi, are you checked ?

    i checked the code in /inc/notifications.php

    i thinks the problem is here
    $time = wp_strip_all_tags( stripslashes( date_i18n( $time_format, $timestamp ) ) );

    the function date_i18n accept timestamp with offset but in your code seems no offset added, this function have some problem look below https://developer.www.ads-software.com/reference/functions/date_i18n/

    Plugin Author wordplus

    (@wordplus)

    Hi there!

    If you are talking about timezone, I think it should consider it.

    Plugin Author wordplus

    (@wordplus)

    ah I got your point now.

    Plugin Author wordplus

    (@wordplus)

    fix is ready, will release with other tunes soon.

    Thread Starter code222

    (@code222)

    ok check also the time on thread page, also in single thread chat the problem occurs

    Plugin Author wordplus

    (@wordplus)

    at that pages browser time used to show time.

    Thread Starter code222

    (@code222)

    when you pass the mouse on the time of single messages you can see 2 time look below:

    <div class="time" title="2020-11-16 15:56:53">2 hours ago</div>

    the first is “2 hours ago” and this seems correct but the time in title attribute are incorrect “2020-11-16 15:56:53”

    so when pass the mouse on the time the tooltip time are incorrect

    Plugin Author wordplus

    (@wordplus)

    will check it

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Problem with Time zone displayed’ is closed to new replies.