WordPress.org

Make WordPress Core

Opened 5 weeks ago

Last modified 4 weeks ago

#48063 new defect (bug)

update-core.php ignores site time format

Reported by: Jfitzgerald Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 4.5
Component: Date/Time Keywords:
Focuses: ui, administration Cc:
PR Number:

Description

Steps to reproduce:
Set site Time Format in wordpress/wp-admin/options-general.php to "H:i"
Set site Date Format in wordpress/wp-admin/options-general.php to "Y-m-d"

View wordpress/wp-admin/update-core.php

Observed: "Last checked on September 17, 2019 at 11:58 pm"

Expected "Last checked on 2019-09-17 at 23:58"

Change History (4)

#1 @davidbaumwald
5 weeks ago

  • Component changed from General to Date/Time

#2 @SergeyBiryukov
5 weeks ago

  • Version changed from 5.2.3 to 4.5

Previously: #23227, #30864.

Hi @Jfitzgerald, welcome to WordPress Trac! Thanks for the ticket.

This was an intentional change in [35811]. Per discussion in #30864, the date_format setting should only affect the front end and not the admin.

Maybe it's worth reconsidering, but that would also affect other places in the admin, as [35811] shows.

#3 @SergeyBiryukov
5 weeks ago

  • Focuses administration added

#4 @Jfitzgerald
4 weeks ago

Thanks for looking at this issue. It is pretty confusing to see the AM/PM format when the time zone is set to UTC.

Note: See TracTickets for help on using tickets.