Make WordPress Core

Opened 2 years ago

Last modified 2 years ago

#55242 new defect (bug)

Time options in Settings have changed to uppercase AM and PM instead of lowercase

Reported by: leecollings's profile leecollings Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 5.9.1
Component: Date/Time Keywords:
Focuses: Cc:

Description

Not sure exactly when this change has crept in, but it should ideally be reverted as uppercase use of AM and PM isn't considered correct.

https://writingexplained.org/am-or-a-m-pm-or-p-m-do-i-capitalize-am-and-pm
https://capitalizemytitle.com/ufaqs/are-am-and-pm-capitalized/
https://en.wikipedia.org/wiki/Date_and_time_notation_in_the_United_Kingdom

All of the sources above state that lowercase use of am and pm should be used.

Attachments (2)

Screenshot 2022-02-23 at 19.01.08.png (64.6 KB) - added by leecollings 2 years ago.
time-format.png (6.9 KB) - added by pbiron 2 years ago.

Download all attachments as: .zip

Change History (5)

#1 @pbiron
2 years ago

@leecollings welcome back to Trac.

I might be wrong, but I think you have a plugin installed that is changing core's behavior.

By default, g:i a, g:i A, and H:i are available to be selected and the time_formats filter allows the available options to be changed. So, I suspect you have a plugin (or even your theme) installed that is using that filter.

Can you try deactivating all plugins and switching to one of the bundled themes and report back whether you see the g:i a option available?

@pbiron
2 years ago

#2 @leecollings
2 years ago

Hi there @pbiron,

It was a great suggestion, and in my mind I was convinced this must be it. But having deactivated all plugins, and switched back to TwentyTwentyOne, the options in Settings still only show an AM/PM option selected, with my previous am/pm value being in the 'custom' input field.

This ticket was mentioned in Slack in #core-test by hellofromtonya. View the logs.


2 years ago

Note: See TracTickets for help on using tickets.