Changeset 3299 for branches/1.2/bp-core/bp-core-templatetags.php
- Timestamp:
- 10/23/2010 03:21:51 PM (16 years ago)
- File:
-
- 1 edited
-
branches/1.2/bp-core/bp-core-templatetags.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/1.2/bp-core/bp-core-templatetags.php
r3285 r3299 821 821 822 822 // Calculate offset time 823 $time_off est = $time + ( $root_blog_offset * 3600 );823 $time_offset = $time + ( $root_blog_offset * 3600 ); 824 824 825 825 // Current date (January 1, 2010) 826 $date = date( 'F j, Y ', $time_off est );826 $date = date( 'F j, Y ', $time_offset ); 827 827 828 828 // Should we show the time also? 829 829 if ( !$just_date ) { 830 830 // Current time (9:50pm) 831 $time = date( ' g:ia', $time_off est );831 $time = date( ' g:ia', $time_offset ); 832 832 833 833 // Return string formatted with date and time
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)