Skip to:
Content
Pages
Categories
Search
Top
Bottom

Wrong current_time, how to change this?


  • kevinbrands
    Participant

    @kevinbrands

    Hello,

    In the BP core members widget, there is a reference to the latest activity of a user. The function to retrieve this, is using ‘bp_core_current_time’, which is using ‘current_time’.

    In this function, the ‘gmt’ value is set to ‘true’. But in our case, it should be set to ‘false’ so the right time is used (we are not in the UTC timezone).

    How can we achieve this?

    I’ve tried using: http://hookr.io/filters/bp_core_current_time/
    But with no luck.

    I’ve seen this problem on the forum and on the internet quite a lot, but there wasn’t a clear answer that I could use. Hopefully you can help me out.

    Thanks in advance!
    -Kevin

  • You must be logged in to reply to this topic.
Skip to toolbar