Opened 14 years ago
Closed 14 years ago
#2779 closed defect (bug) (fixed)
xprofile date field displays wrong date in public profile
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | 1.5 | Priority: | normal |
Severity: | Version: | 1.2.6 | |
Component: | Extended Profile | Keywords: | date field |
Cc: |
Description
It appears that the 1.2.6 release included a bug with the date field for extended profile information. If you create a date field and then pick a date, say, January 15, it will display as January 14 in the public profile page.
Someone pointed out it has something to do with a date offset function, bp_format_time:
http://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/12-6-upgrade-date-offset/
Attachments (1)
Change History (4)
#2
@
14 years ago
The succeeding patch fixes the above issue. I've also cleaned up bp_format_time() to allow it to accept a zero value, which is a valid Unix timestamp. I've also changed the function so that it now obeys the time_format, along with the date_format set in Settings>General. Further explanation of the problem can be found at the link given by Ahjira.
Having the same problem. Any update on this? Thanks a lot!