Skip to:
Content

BuddyPress.org

Opened 7 weeks ago

#9246 new defect (bug)

Invitation table is not showing the correct date

Reported by: locker17's profile locker17 Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 14.1.0
Component: Core Keywords: needs-patch
Cc:

Description

When a member invites non-members, the member can see who he has been invited on a table. This table also shows the date of the invitation. On my evironment (server and local) it shows the wrong date.
I am at the Europe timezone which means there is an offset of 2 hours. WordPress is set to Paris timezone (or UTC +2 - I tested both). If a member invites someone on the 22nd of October for example, at 1 AM. Then the invitation table shows that the invitation was on 21st of October because the date is saved as UTC (11 PM the day before) at the mysql table and this is not modified before displayed.
Can you please fix that.
If you can't fix it please set the $gmt variable to false by default in core. Then the local time is taken and saved in the database and the output is correct. Thanks.

Change History (0)

Note: See TracTickets for help on using tickets.