Skip to:
Content

BuddyPress.org

Changeset 3339


Ignore:
Timestamp:
11/02/2010 07:12:20 PM (12 years ago)
Author:
djpaul
Message:

Use date_i18n() instead of date() for output. Fixes #845 again.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/bp-core-templatetags.php

    r3337 r3339  
    829829
    830830    // Current date (January 1, 2010)
    831     $date = date( 'F j, Y ', $time_offset );
     831    $date = date_i18n( 'F j, Y ', $time_offset );
    832832
    833833    // Should we show the time also?
    834834    if ( !$just_date ) {
    835835        // Current time (9:50pm)
    836         $time = date( ' g:ia', $time_offset );
     836        $time = date_i18n( ' g:ia', $time_offset );
    837837
    838838        // Return string formatted with date and time
Note: See TracChangeset for help on using the changeset viewer.