[buddypress-trac] [BuddyPress] #3149: International Date format for XProfile fields

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Tue Apr 12 13:34:56 UTC 2011


#3149: International Date format for XProfile fields
----------------------------------------------+----------------------------
 Reporter:  dhoppe                            |      Owner:
     Type:  enhancement                       |     Status:  new
 Priority:  normal                            |  Milestone:  Awaiting
Component:  XProfile                          |  Review
 Keywords:  i10n, multilingual, date, format  |    Version:  1.3
----------------------------------------------+----------------------------
 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!
 :)

-- 
Ticket URL: <https://trac.buddypress.org/ticket/3149>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list