Make WordPress Core

Opened 5 years ago

Closed 15 months ago

#49581 closed defect (bug) (invalid)

Revisions are showing time in GMT and not Local Time

Reported by: ggedde's profile ggedde Owned by:
Milestone: Priority: normal
Severity: normal Version: 5.3.2
Component: Date/Time Keywords: dev-feedback
Focuses: administration Cc:

Description

When reviewing Revisions in the Admin Panel the date and time shown for a revision is the GMT time in 24 hour format and not the local time in 12 hour format. Even when the local timezone is set correctly in Settings -> General. I even tried adding date_default_timezone_set('America/Los_Angeles'); to my functions.php, but it still uses gmt. However the time ago is showing correctly. So it is just the date and time.

I think the time shown should use the settings from Settings -> General (Timezone) and (Date Format), but it is not.

Change History (3)

#1 @SergeyBiryukov
5 years ago

  • Component changed from General to Date/Time

#2 @merianos
15 months ago

  • Keywords dev-feedback added

I just tried to create some changes to the default sample page using the Greek time zone and time configuration and the date/times seem good to me.

The WordPress I run is 6.3-alpha which means that maybe your problem is already solved and maybe in the next few days you will have the update available right in your WordPres.

My current local time is 3:31 on my system time and the revision time is 8 June @ 15:29 which is more than right.

If this is not correct for you can you please provide some more information :)

#3 @johnbillion
15 months ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

I'll close this ticket off as we've not had any other reports of this problem and it appears to be working as expected. Feel free to reopen the ticket with further details if it still appears to be a problem.

Note: See TracTickets for help on using tickets.