[buddypress-trac] [BuddyPress] #1316: Message inbox possible date error

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Wed Nov 4 19:26:00 UTC 2009


#1316: Message inbox possible date error
-------------------+--------------------------------------------------------
Reporter:  chouf1  |       Owner:       
    Type:  defect  |      Status:  new  
Priority:  major   |   Milestone:  1.1.3
Keywords:          |  
-------------------+--------------------------------------------------------
 Not sure, but it seems to me that the above function written in bp-core-
 templatetags.php
 function bp_format_time( $time, $just_date = false ) {
         $date = date( get_option('date_format'), $time );

         if ( !$just_date ) {
                 $date .= ' ' . __( 'at', 'buddypress' ) . date( ' ' .
 get_option('time_format'), $time );
 }

 is working here:

 bp-sn-parent/message/index.php:42
 <p class="date"><?php bp_message_thread_last_post_date() ?></p>

 The output result is
 <p class="date">04/11/2009 at 7:32 pm</p>

 But it should be
 <p class="date">at 04/11/2009 7:32 pm</p>

-- 
Ticket URL: <http://trac.buddypress.org/ticket/1316>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list