[buddypress-trac] [BuddyPress] #2238: "sent X time ago" discrepancy in Sent Messages

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Wed Mar 24 13:45:31 UTC 2010


#2238: "sent X time ago" discrepancy in Sent Messages
----------------------+-----------------------------------------------------
 Reporter:  3sixty    |       Owner:                           
     Type:  defect    |      Status:  new                      
 Priority:  major     |   Milestone:  1.2.3                    
Component:  Activity  |    Keywords:  time zone, time, messages
----------------------+-----------------------------------------------------
 DJPaul suggested posting this as a bug report. I can't get Messages to
 report "time ago" correctly without breaking the time reporting in the
 Forums. Out of the box, Forums are reporting times correctly ("Posted 2
 seconds ago") but Messages report incorrectly ("Posted 5 hours ago"). In
 an attempt to fix this, I tried using date_default_timezone_set(); which
 fixed Messages, but it "broke" Forums - the times now say "Posted sometime
 ago".

 I Ensured my WP install is set to use the same timezone as my server, but
 this seemed to have no effect.

 In debugging, I sent a test Message that had a Sent Time of 2010-03-24
 08:22:03 when UTC time is 2010-03-24 13:22:52 (5 hour difference).

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


More information about the buddypress-trac mailing list