#4374 closed defect (bug) (duplicate)
1.6 RC.1 - profile date fields in members-loop
Reported by: | shanebp | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 1.6 |
Component: | Extended Profile | Keywords: | |
Cc: | sam3dus@… |
Description
If you create a profile field and the Type is Date Selector...
bp_the_profile_field_value(), used in bp-default -> profile-loop, shows and formats the value
bp_member_profile_data( 'field=Date' ), used in bp-default -> members-loop, does Not show the value
Possible explanation:
"BuddyPress stores the output of the datebox as a string like "2012-07-19 00:00:00". bp_get_member_profile_data() retrieves that from the database and then passes it to xprofile_format_profile_field(), which passes it to bp_format_time(), which returns false because the value fails the is_numeric() check."
I tested this in members-loop and you can see the result here:
http://shanebp.bearcentral.com/members/
duplicate of #4365