Skip to:
Content

BuddyPress.org

Ticket #845: datei18n_20090711.diff

File datei18n_20090711.diff, 680 bytes (added by remi, 16 years ago)
  • bp-core/bp-core-templatetags.php

     
    367367}
    368368
    369369function bp_format_time( $time, $just_date = false ) {
    370         $date = date( get_option('date_format'), $time );
     370        $date = date_i18n( get_option('date_format'), $time );
    371371       
    372372        if ( !$just_date ) {
    373                 $date .= ' ' . __( 'at', 'buddypress' ) . date( ' ' . get_option('time_format'), $time );
     373                $date .= ' ' . __( 'at', 'buddypress' ) . date_i18n( ' ' . get_option('time_format'), $time );
    374374        }
    375375       
    376376        return apply_filters( 'bp_format_time', $date );