Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
10/23/2010 03:21:51 PM (16 years ago)
Author:
djpaul
Message:

Fixed #2203 again (branch)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.2/bp-core/bp-core-templatetags.php

    r3285 r3299  
    821821
    822822        // Calculate offset time
    823         $time_offest = $time + ( $root_blog_offset * 3600 );
     823        $time_offset = $time + ( $root_blog_offset * 3600 );
    824824
    825825        // Current date (January 1, 2010)
    826         $date = date( 'F j, Y ', $time_offest );
     826        $date = date( 'F j, Y ', $time_offset );
    827827
    828828        // Should we show the time also?
    829829        if ( !$just_date ) {
    830830                // Current time (9:50pm)
    831                 $time = date( ' g:ia', $time_offest );
     831                $time = date( ' g:ia', $time_offset );
    832832
    833833                // Return string formatted with date and time
Note: See TracChangeset for help on using the changeset viewer.