Project:Style guide: Difference between revisions

Jump to navigation Jump to search
101 bytes removed ,  1 September 2023
→‎Dates: change desired format due to implementation of Template:Cite web and Template:Cite Discord
No edit summary
(→‎Dates: change desired format due to implementation of Template:Cite web and Template:Cite Discord)
Line 30: Line 30:
=== Dates ===
=== Dates ===
Dates should only be in 2 formats:
Dates should only be in 2 formats:
*<code>January 5, 2001</code> ({{!xt|January 5th, 2000}} is incorrect, the <code>th</code> should be omitted)
*<code>5 January 2001</code>
*<code>01/05/2001</code> ({{!xt|2000/05/01}}, {{!xt|05/01/2000}}, and {{!xt|01/05/01}} are all incorrect; it should <code>MM/DD/YYYY</code>)
*<code>2023-01-05</code> ({{!xt|05-01-2000}}, and {{!xt|01-05-01}} are all incorrect; it should <code>YYYY-MM-DD</code>)


The 1st format should be preferred to the 2nd; the 2nd should only be used when attempting to reduce space.
The 1st format should be preferred to the 2nd; the 2nd should only be used when attempting to reduce space.

Navigation menu