Make WordPress Core

Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#50950 closed defect (bug) (duplicate)

Posts show wrong time when user is in a different time zone than the site's

Reported by: rfischmann Owned by:
Priority: normal Milestone:
Component: Date/Time Version: 5.5
Severity: major Keywords:
Cc: Focuses:

Description

I'm in GMT+1, my site is configured in GMT-3 time zone — so I'm 4 hours ahead.

WordPress' editor in version 5.5 is showing the post's time as if it was published 4 hours before, example: ​https://d.pr/i/wAw9iV

If I click the post's date/time, it shows the correct time: ​https://d.pr/i/L4TlQd

Just so it's completely clear: that post was published at 11:41AM GMT-3, and that was 3:41PM GMT+1 for me.

So the editor is considering that my time zone should be the post's, and it's then subtracting 4 hours because of the time zone difference. Very weird behavior.

Change History (3)

#1 @rfischmann
6 years ago

  • Resolution → duplicate
  • Status new → closed

Duplicate of #50949.

Sorry, I don't know why the ticket was opened twice.

#2 @johnbillion
6 years ago

  • Milestone Awaiting Review

No problem, sometimes the gremlins come out.

#3 @SergeyBiryukov
6 years ago

  • Component General → Date/Time
Note: See TracTickets for help on using tickets.