Skip to:
Content

BuddyPress.org

Changeset 10234


Ignore:
Timestamp:
10/10/2015 06:03:42 PM (11 years ago)
Author:
djpaul
Message:

xprofile: fix i18n for date format in admin list table

Fixes #6436

Props danbp for initial patch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-activity/bp-activity-admin.php

    r10229 r10234  
    15921592
    15931593                /* translators: 2: activity admin ui date/time */
    1594                 printf( __( 'Submitted on <a href="%1$s">%2$s at %3$s</a>', 'buddypress' ), bp_activity_get_permalink( $item['id'] ), get_date_from_gmt( $item['date_recorded'], get_option( 'date_format' ) ), get_date_from_gmt( $item['date_recorded'], get_option( 'time_format' ) ) );
     1594                printf(
     1595                        __( 'Submitted on <a href="%1$s">%2$s at %3$s</a>', 'buddypress' ),
     1596                        bp_activity_get_permalink( $item['id'] ),
     1597                        date_i18n( bp_get_option( 'date_format' ), strtotime( $item['date_recorded'] ) ),
     1598                        get_date_from_gmt( $item['date_recorded'], bp_get_option( 'time_format' ) )
     1599                );
    15951600
    15961601                // End timestamp
Note: See TracChangeset for help on using the changeset viewer.