Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
09/04/2009 06:49:12 PM (17 years ago)
Author:
apeatling
Message:

Fixes #949

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-forums/bp-forums-templatetags.php

    r1688 r1790  
    355355                global $forum_template;
    356356
    357                 return apply_filters( 'bp_get_the_topic_time_since_created', bp_core_time_since( bb_gmtstrtotime( $forum_template->topic->topic_start_time ) ) );
     357                return apply_filters( 'bp_get_the_topic_time_since_created', bp_core_time_since( strtotime( $forum_template->topic->topic_start_time ) ) );
    358358        }
    359359       
     
    387387                global $forum_template;
    388388
    389                 return apply_filters( 'bp_get_the_topic_time_since_last_post', bp_core_time_since( bb_gmtstrtotime( $forum_template->topic->topic_time ) ) );
     389                return apply_filters( 'bp_get_the_topic_time_since_last_post', bp_core_time_since( strtotime( $forum_template->topic->topic_time ) ) );
    390390        }
    391391
     
    670670                global $topic_template;
    671671
    672                 return apply_filters( 'bp_get_the_topic_post_time_since', bp_core_time_since( bb_gmtstrtotime( $topic_template->post->post_time ) ) );
     672                return apply_filters( 'bp_get_the_topic_post_time_since', bp_core_time_since( strtotime( $topic_template->post->post_time ) ) );
    673673        }
    674674
Note: See TracChangeset for help on using the changeset viewer.