Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
07/21/2010 07:33:39 PM (16 years ago)
Author:
johnjamesjacoby
Message:

Fixes #2203 and #2497. Introduces bp_core_current_time function as central handler for all time related functions. Removes unused bp_core_format_time in lieu of currently used bp_format_time.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.2/bp-friends.php

    r3111 r3142  
    281281                'item_id' => false,
    282282                'secondary_item_id' => false,
    283                 'recorded_time' => gmdate( "Y-m-d H:i:s" ),
     283                'recorded_time' => bp_core_current_time(),
    284284                'hide_sitewide' => false
    285285        );
     
    362362        $friendship->is_confirmed = 0;
    363363        $friendship->is_limited = 0;
    364         $friendship->date_created = time();
     364        $friendship->date_created = bp_core_current_time();
    365365
    366366        if ( $force_accept )
Note: See TracChangeset for help on using the changeset viewer.