Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
01/04/2011 12:42:42 PM (14 years ago)
Author:
boonebgorges
Message:

Reworks the display of datebox xprofile filters so that dates are not offset according to local time. Cleans up bp_format_time(). Fixes 2779. Props cnorris23.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-xprofile/bp-xprofile-filters.php

    r3560 r3651  
    102102
    103103    if ( 'datebox' == $field_type )
    104         $field_value = bp_format_time( $field_value, true );
     104        $field_value = bp_format_time( $field_value, true, false );
    105105    else
    106106        $field_value = str_replace(']]>', ']]>', $field_value );
Note: See TracChangeset for help on using the changeset viewer.