Skip to:
Content
Pages
Categories
Search
Top
Bottom

Local Time Issues


  • answerthink
    Member

    @answerthink

    I have set the local time to UTC–4.

    On front-page.php, the displayed time appears to be subtracting 4 hours from the local time for the first forum listing only. The times of all other forum listings are correct. <?php $t1=get_topic(forum_last_topic_id()); echo date(“D M j, Y g:i a”, bb_offset_time(strtotime($t1->topic_time))); ?>

    On forum.php, the displayed time for all topics are correct. <?php topic_time(“D M j, Y g:i a”); ?>

    On post.php, the displayed time appears to be subtracting 4 hours from the local time for the first post only. The times for all subsequent posts are correct. <?php echo date(“D M j, Y g:i a”, bb_offset_time(strtotime($bb_post->post_time))); ?>

    Any ideas why the time would be different (and incorrect) for only the first forum on front-page.php and only the first post on post.php?

Viewing 1 replies (of 1 total)

  • amirsaam
    Member

    @7i7griffin

    In bbPress times of posts and topics are like Twitter, like 20 minute ago and etc. Then, when the time be very long ago it will shown like what is in General setting date and time field :)

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.
Skip to toolbar