Returning incorrect xprofile date data
-
It was all working fine but all of sudden BuddyPress xprofile
date
field giving one date before. However, I have checked in the database and the entry is correct. It is just returning the wrong date.This means, If I set the date to 1920-12-12 it is storing the correct (the same) but returning 1920-12-11.
I am using the latest version of BuddyPress
I am getting the date using the following BuddyPress function.
bp_get_profile_field_data([ 'field' => 5, 'user_id' => 14 ]); bp_get_profile_field_data([ 'field' => 'Date Of Birth', 'user_id' => 14 ]);
- You must be logged in to reply to this topic.