Opened 14 years ago
Closed 14 years ago
#3149 closed enhancement (duplicate)
International Date format for XProfile fields
Reported by: | dhoppe | Owned by: | |
---|---|---|---|
Milestone: | 1.5 | Priority: | normal |
Severity: | Version: | 1.5 | |
Component: | Extended Profile | Keywords: | i10n, multilingual, date, format |
Cc: |
Description
In the function "bp_format_time" in bp-core/bp-core-templatetags.php (line 826) the format of the dates of the member profiles is hard coded to 'F j, Y '.
$date = date( 'F j, Y ', $time_offset );
If you change this line to
$date = date( _x('F j, Y', 'buddypress'), $time_offset );
the date could be formated within the language file. This would be great! :)
Change History (4)
#1
in reply to:
↑ description
@
14 years ago
#2
@
14 years ago
Really, shouldn't this be inherited from the Date Format at Dashboard > Settings? Then we don't need to worry about translations.
Note: See
TracTickets for help on using
tickets.
Same problem with the time value in the same function:
Should be changed to: