Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: [Adjust Time Zone]

Here is my temporal solution:

add_action( 'bp_activity_before_save', "ftblg_bp_timezone_bug" );
function ftblg_bp_timezone_bug($activity) {
$blog_time_offset=get_option('gmt_offset') * 3600;
$server_time_offset=-6 * 3600;
$activity->date_recorded = $activity->date_recorded - $blog_time_offset;
$activity->date_recorded = $activity->date_recorded + $server_time_offset;
}

change ‘-6’ for the server time zone.

Skip to toolbar