[buddypress-trac] [BuddyPress Trac] #9246: Invitation table is not showing the correct date

buddypress-trac noreply at wordpress.org
Mon Oct 21 23:21:50 UTC 2024


#9246: Invitation table is not showing the correct date
--------------------------+-----------------------------
 Reporter:  locker17      |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Core          |    Version:  14.1.0
 Severity:  normal        |   Keywords:  needs-patch
--------------------------+-----------------------------
 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.

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/9246>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list