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

buddypress-trac noreply at wordpress.org
Wed Mar 11 20:58:30 UTC 2015


#2693: bp_format_time returns incorrect value when gmt_offset is empty
------------------------------------------+-----------------------
 Reporter:  stevejohnson                  |       Owner:
     Type:  defect (bug)                  |      Status:  reopened
 Priority:  normal                        |   Milestone:  2.3
Component:  Component - Core              |     Version:
 Severity:  normal                        |  Resolution:
 Keywords:  needs-patch needs-unit-tests  |
------------------------------------------+-----------------------

Comment (by johnjamesjacoby):

 In [changeset:"9618"]:
 {{{
 #!CommitTicketReference repository="" revision="9618"
 Core: Clean up `bp_format_time`:

 * More detailed phpdoc block.
 * Add `@since` tag.
 * White space is delicious.
 * Rename parameters to avoid double negative checks.
 * Rename another variable.

 See #2693.
 }}}

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/2693#comment:10>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list