Help:Sortable tables: Difference between revisions

Content deleted Content added
Month, day, and year: No longer needed. See "full dates" section.
Day, month, and year: No longer needed. See "full dates" section.
Line 1,624:
|-
| August 2004
|}
|}
 
=== Day, month, and year ===
 
Sorting works correctly in all cases below. Years before 100 (for example, year 99) break sorting. If a number for a day is missing, sorting is broken. Abbreviated months work too.
 
{|
|- style=vertical-align:text-top;
|
{| class="wikitable sortable"
|-
! Day, month, year
|-
| 5 Dec 1999
|-
| 7 Jan 1999
|-
| 14 May 2004
|-
| 4 Aug 2004
|}
|
{| class="wikitable sortable"
|-
! Day, month, year
|-
| 5 December 1999
|-
| 7 January 1999
|-
| 14 May 2004
|-
| 4 August 2004
|}
|}
 
{|
|- style=vertical-align:text-top;
|
{| class="wikitable sortable"
|-
! data-sort-type=date | Day, month, year<br><code>data-sort-type=date</code>
|-
| 5 Dec 1999
|-
| 7 Jan 1999
|-
| 14 May 2004
|-
| 4 Aug 2004
|}
|
{| class="wikitable sortable"
|-
! data-sort-type=date | Day, month, year<br><code>data-sort-type=date</code>
|-
| 5 December 1999
|-
| 7 January 1999
|-
| 14 May 2004
|-
| 4 August 2004
|}
|}