Skip to:
Content

BuddyPress.org

Changeset 9295


Ignore:
Timestamp:
01/02/2015 08:52:31 PM (10 years ago)
Author:
johnjamesjacoby
Message:

Explicitly set date_format and time_format options in bp_format_time() tests. See #2693.

File:
1 edited

Legend:

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

    r9294 r9295  
    197197        $localize_time = true;
    198198
     199        update_option( 'date_format', 'F j, Y' );
     200        update_option( 'time_format', 'g:i a' );
    199201        update_option( 'gmt_offset', $gmt_offset );
    200202        delete_option( 'timezone_string' );
     
    212214        $localize_time  = true;
    213215
     216        update_option( 'date_format', 'F j, Y' );
     217        update_option( 'time_format', 'g:i a' );
    214218        update_option( 'timezone_string', $timzone_string );
    215219        delete_option( 'gmt_offset' );
Note: See TracChangeset for help on using the changeset viewer.