Description
The Gutenberg publish/schedule panel does not fully respect the site's configured.
Expected Result:
The time selector should display lowercase am/pm because the selected PHP time format uses lowercase a.
Example:
12:32 pm
Actual Result:
The Gutenberg publish panel displays uppercase AM/PM instead.
Example:
12:32 PM
Additional Notes:
When using g:i A, uppercase AM/PM is correct.
When using H:i, the editor should use 24-hour format without AM/PM.
Step-by-step reproduction instructions
Steps to Reproduce:
Go to Dashboard → Settings → General
Set Time Format to: g:i a
Open the Block Editor (Gutenberg)
Check the Publish/Schedule panel time selector.
Screenshots, screen recording, code snippet
Dashboard.test-wordpress.WordPress.webm
Environment info
No response
Please confirm that you have searched existing issues in the repo.
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Please confirm which theme type you used for testing.
Description
The Gutenberg publish/schedule panel does not fully respect the site's configured.
Expected Result:
The time selector should display lowercase am/pm because the selected PHP time format uses lowercase
a.Example:
12:32 pmActual Result:
The Gutenberg publish panel displays uppercase
AM/PMinstead.Example:
12:32 PMAdditional Notes:
When using
g:i A, uppercaseAM/PMis correct.When using
H:i, the editor should use 24-hour format withoutAM/PM.Step-by-step reproduction instructions
Steps to Reproduce:
g:i aScreenshots, screen recording, code snippet
Dashboard.test-wordpress.WordPress.webm
Environment info
No response
Please confirm that you have searched existing issues in the repo.
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Please confirm which theme type you used for testing.