Buddypres datebox not exporting
-
Hi,
Firstly, great plugin, it is doing everything I hoped it would.
I found just one little issue, I have a Buddypress datebox xprofile field, and it is always exporting as 1970-01-01.
If I change:
if($bp_fields[$data->field_id]->type == 'datebox') { $data->value = date("Y-m-d H:i:s", $data->value);
with the code below, it works just fine:
if($bp_fields[$data->field_id]->type == 'datebox') { $date = new DateTime($data->value); $data->value = $date->format($wpue_config->date_format);
Cheers,
Mark
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Buddypres datebox not exporting’ is closed to new replies.