Make WordPress Core

Opened 3 months ago

Last modified 3 months ago

#53554 reviewing enhancement

Add timezone to update screen last checked time

Reported by: mkaz Owned by: audrasjb
Milestone: 5.9 Priority: normal
Severity: normal Version:
Component: Upgrade/Install Keywords: has-patch
Focuses: Cc:


The time displayed on at /wp-admin/update-core.php matches the server time which often may not be the timezone the person viewing the page is in. It would be a nice enhancement to include the timezone abbreviation with the time.

Attachments (1)

update-timezone.png (86.6 KB) - added by mkaz 3 months ago.

Download all attachments as: .zip

Change History (6)

This ticket was mentioned in PR #1449 on WordPress/wordpress-develop by mkaz.

3 months ago

  • Keywords has-patch added

This adds the additional format T to the date format that will also display the timezone abbreviation. If timezone is set to UTC+0 it will show GMT+0000, if timezone set to a name, it will use the name abbreviation, for example PDT for America/Los_Angeles.

Trac ticket: https://core.trac.wordpress.org/ticket/53554


This Pull Request is for code review only. Please keep all other discussion in the Trac ticket. Do not merge this Pull Request. See GitHub Pull Requests for Code Review in the Core Handbook for more details.

3 months ago

#2 @audrasjb
3 months ago

Good catch.
Quick accessibility question: shouldn't we use e (Timezone identifier) to avoid abbreviation when possible?

#3 @audrasjb
3 months ago

  • Milestone changed from Awaiting Review to 5.9

#4 @audrasjb
3 months ago

  • Owner set to audrasjb
  • Status changed from new to reviewing

#5 @mkaz
3 months ago

@audrasjb I only noticed because my local was set to UTC+0 and said it was last checked in the future.

I'm not sure about e vs T, I personally prefer the shorter abbreviation.

Using e it will look like for (UTC-7 and UTC+0)

Last checked on June 29, 2021 at 4:00 pm America/Los_Angeles.
Last checked on June 29, 2021 at 4:00 pm +00:00.

And using T it will look like for (UTC-7 and UTC+0)

Last checked on June 29, 2021 at 4:00 pm PDT. 
Last checked on June 29, 2021 at 4:00 pm GMT+0000. 
Note: See TracTickets for help on using tickets.