Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
05/24/2013 05:45:22 PM (12 years ago)
Author:
boonebgorges
Message:

Update tests and documentation for bp_core_time_since() to reflect seconds quirk

Fixes #5017

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/testcases/core/functions.php

    r7102 r7104  
    138138        $now = time();
    139139        $then = $now - ( 3 * MINUTE_IN_SECONDS ) - 3;
    140         $this->assertEquals( '3 minutes, 3 seconds ago', bp_core_time_since( $then, $now ) );
     140        $this->assertEquals( '3 minutes ago', bp_core_time_since( $then, $now ) );
    141141    }
    142142
Note: See TracChangeset for help on using the changeset viewer.