Changeset 2437
- Timestamp:
- 06/03/2010 01:14:17 AM (16 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
-
bb-includes/functions.bb-template.php (modified) (2 diffs)
-
bb-templates/kakumei/rss2.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bb-includes/functions.bb-template.php
r2436 r2437 3550 3550 3551 3551 function _bb_time_function_return( $time, $args ) { 3552 $time = bb_gmtstrtotime( $time );3552 $time = !$args['localize'] ? strtotime( $time ) : bb_gmtstrtotime( $time ); 3553 3553 3554 3554 switch ( $format = $args['format'] ) : … … 3567 3567 endswitch; 3568 3568 3569 if ( $args['localize'] ) { 3570 return bb_gmdate_i18n( $format, $time, false ); 3571 } else { 3572 return gmdate( $format, $time ); 3573 } 3569 return bb_gmdate_i18n( $format, $time ); 3574 3570 } 3575 3571 -
trunk/bb-templates/kakumei/rss2.php
r2430 r2437 24 24 <title><?php post_author(); ?> <?php _e( 'on' ); ?> "<?php topic_title( $bb_post->topic_id ); ?>"</title> 25 25 <link><?php post_link(); ?></link> 26 <pubDate><?php bb_post_time( 'D, d M Y H:i:s +0000', array('localize' => false ) ); ?></pubDate>26 <pubDate><?php bb_post_time( array( 'format' => 'D, d M Y H:i:s +0000', 'localize' => false ) ); ?></pubDate> 27 27 <dc:creator><?php post_author(); ?></dc:creator> 28 28 <guid isPermaLink="false"><?php post_id(); ?>@<?php bb_uri(); ?></guid>
Note: See TracChangeset
for help on using the changeset viewer.