[wp-trac] [WordPress Trac] #65326: Gutenberg publish panel does not respect lowercase a in g:i a time format.
WordPress Trac
noreply at wordpress.org
Fri May 22 11:46:13 UTC 2026
#65326: Gutenberg publish panel does not respect lowercase a in g:i a time format.
-------------------------------------+-------------------------------------
Reporter: truptikanzariya | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Date/Time | Version: 7.0
Severity: normal | Keywords: needs-testing has-
Focuses: javascript, | screenshots
administration |
-------------------------------------+-------------------------------------
The Gutenberg publish/schedule panel does not fully respect the site's
configured.
**Steps to Reproduce: **
1. Go to Dashboard → Settings → General
2. Set **Time Format** to: {{{g:i a}}}
3. Open the Block Editor (Gutenberg)
4. Check the Publish/Schedule panel time selector.
**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}}}.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/65326>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list