Title: Problem with Time zone displayed
Last modified: November 2, 2020

---

# Problem with Time zone displayed

 *  [code222](https://wordpress.org/support/users/code222/)
 * (@code222)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/problem-with-time-zone-displayed/)
 * 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](https://wordpress.org/support/users/wordplus/)
 * (@wordplus)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/problem-with-time-zone-displayed/#post-13612317)
 * Will check this behaviour, I think it should use WP time, but will double check
   anyway.
 *  Thread Starter [code222](https://wordpress.org/support/users/code222/)
 * (@code222)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/problem-with-time-zone-displayed/#post-13669210)
 * 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.wordpress.org/reference/functions/date_i18n/](https://developer.wordpress.org/reference/functions/date_i18n/)
 *  Plugin Author [wordplus](https://wordpress.org/support/users/wordplus/)
 * (@wordplus)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/problem-with-time-zone-displayed/#post-13669228)
 * Hi there!
 * If you are talking about timezone, I think it should consider it.
 *  Plugin Author [wordplus](https://wordpress.org/support/users/wordplus/)
 * (@wordplus)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/problem-with-time-zone-displayed/#post-13669236)
 * ah I got your point now.
 *  Plugin Author [wordplus](https://wordpress.org/support/users/wordplus/)
 * (@wordplus)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/problem-with-time-zone-displayed/#post-13669291)
 * fix is ready, will release with other tunes soon.
 *  Thread Starter [code222](https://wordpress.org/support/users/code222/)
 * (@code222)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/problem-with-time-zone-displayed/#post-13669348)
 * ok check also the time on thread page, also in single thread chat the problem
   occurs
 *  Plugin Author [wordplus](https://wordpress.org/support/users/wordplus/)
 * (@wordplus)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/problem-with-time-zone-displayed/#post-13669428)
 * at that pages browser time used to show time.
 *  Thread Starter [code222](https://wordpress.org/support/users/code222/)
 * (@code222)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/problem-with-time-zone-displayed/#post-13669453)
 * 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](https://wordpress.org/support/users/wordplus/)
 * (@wordplus)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/problem-with-time-zone-displayed/#post-13669459)
 * will check it

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Problem with Time zone displayed’ is closed to new replies.

 * ![](https://ps.w.org/bp-better-messages/assets/icon-256x256.png?rev=2835105)
 * [Better Messages - Chat Rooms, Group Chat, Private Messages & AI Chat Bots](https://wordpress.org/plugins/bp-better-messages/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/bp-better-messages/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/bp-better-messages/)
 * [Active Topics](https://wordpress.org/support/plugin/bp-better-messages/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/bp-better-messages/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/bp-better-messages/reviews/)

 * 9 replies
 * 2 participants
 * Last reply from: [wordplus](https://wordpress.org/support/users/wordplus/)
 * Last activity: [5 years, 8 months ago](https://wordpress.org/support/topic/problem-with-time-zone-displayed/#post-13669459)
 * Status: not resolved