Jump to content

Template talk:AMPM

Page contents not supported in other languages.
Add topic
From Wikipedia, the free encyclopedia
Latest comment: 17 days ago by Okkirae.temp in topic Lower case & 12 is neither am nor pm

Current time: 03:00 (UTC)

Current hour (12-hour clock): 03:00 AM (UTC)

Current time in New York (24-hour clock): 22:00

Current time in New York (12-hour clock): 10:00 PM

Lower case & 12 is neither am nor pm

[edit]

The MOS says

12-hour clock times end with dotted or undotted lower-case a.m. or p.m., or am or pm, preceded by a space (e.g. 2:30 p.m. or 2:30 pm, not 2:30p.m. or 2:30pm). Hours denoted by a single digit should not have a leading zero (e.g. 2:30 p.m., not 02:30 p.m.). A hard space (see above) is advisable (2:30 pm or {{nowrap|2:30 p.m.}}). Use noon and midnight rather than 12 pm and 12 am; whether midnight refers to the start or the end of a date will need to be specified unless it is clear from the context.

So there are two things to change: upper case to lower case & use "noon"/"midnight". JIMp talk·cont 06:13, 19 April 2012 (UTC)Reply

Wow, this is such an old & unfixed problem. I have XfDed the template, discussion is here. Okkirae∤(䆿±䋚) 15:36, 30 October 2026 (UTC)Reply
My suggestion if it's being fixed is to implement lc dotted—(H)H:MM a.m. (H)H:MM p.m.—and add lc ndotted (ex 2:30 pm) and the informal uc ndotted (ex 2:30 PM) as optional style params (ie {{AMPM|20|style=nodot}} for 20:32 pm, {{AMPM|04|style=nodotcaps}} for 04:45 AM). Okkirae∤(䆿±䋚) 15:48, 30 October 2026 (UTC)Reply