[buddypress-trac] [BuddyPress] #2693: bp_format_time returns incorrect value when gmt_offset is empty

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Thu Oct 28 19:43:21 UTC 2010


#2693: bp_format_time returns incorrect value when gmt_offset is empty
--------------------------+-------------------------------------------------
 Reporter:  stevejohnson  |       Owner:                             
     Type:  defect        |      Status:  new                        
 Priority:  normal        |   Milestone:  1.3                        
Component:  Core          |    Keywords:  gmt_offset, timezone_string
--------------------------+-------------------------------------------------
 When the root blog's timezone is set to a Region/City string, WP sets the
 option timezone_string, and gmt_offset value is empty. Only when the
 timezone is set to a GMT time does gmt_offset contain a value. This
 results in incorrect time strings for anything that uses bp_format_time.

 Function bp_format_time should be modified to take this into account.

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


More information about the buddypress-trac mailing list