Skip to:
Content

BuddyPress.org

Opened 14 years ago

Closed 10 years ago

#4324 closed defect (bug)

Private message sent durations are incorrect after first sending.

Reported by: LukeJJones Owned by: LukeJJones
Priority: normal Milestone:
Component: Messages Version: 1.5.6
Severity: normal Keywords:
Cc:

Description

When I first reply to a private message the time it says "Sent 7 hours ago". When I refresh the correct sent duration is displayed.

Attachments (1)

ReplyTimeBug.PNG (11.9 KB ) - added by LukeJJones 14 years ago.
Screenshot of the issue

Download all attachments as: .zip

Change History (7)

@LukeJJones
14 years ago

Screenshot of the issue

#1 @r-a-y
14 years ago

  • Keywords reporter-feedback added

When you reply to a private message with AJAX, BuddyPress uses WordPress' current_time() to grab the GMT time.

Can you test and see if current_time() is working correctly on your install?

eg:

var_dump( current_time( 'gmt', 1 ) );

This should output the GMT time. If this is not accurate, then the time will not be accurate when you first reply the PM.

Let us know.

#2 @johnjamesjacoby
14 years ago

  • Keywords needs-patch dev-feedback added
  • Milestone Awaiting Review1.7

There's definitely been something funky with this, since years and years ago.

#3 @johnjamesjacoby
14 years ago

  • Keywords reporter-feedback dev-feedback removed
  • Milestone 1.71.8

Let's get some eyes on this in 1.8.

#4 @boonebgorges
13 years ago

I haven't been able to reproduce the problem in my tests. Would you mind sharing more details about your server configuration? What timezone are you in? What timezone is your server in? What is your WP timezone setting?

#5 @boonebgorges
13 years ago

  • Milestone 1.8Future Release

#6 @r-a-y
10 years ago

  • Keywords needs-patch removed
  • Milestone Future Release
  • Status newclosed

Duplicate of #4310.

Note: See TracTickets for help on using tickets.