Template talk:Date table sorting: Difference between revisions

Content deleted Content added
m Archiving 1 discussion(s) to Template talk:Date table sorting/Archive 2) (bot
 
(16 intermediate revisions by 7 users not shown)
Line 10:
}}
 
== [[:ce:Модуль:Dts]] ==
== "Template:Sbd" listed at [[Wikipedia:Redirects for discussion|Redirects for discussion]] ==
[[File:Information.svg|30px]]
A discussion is taking place to address the redirect [[:Template:Sbd]]. The discussion will occur at [[Wikipedia:Redirects for discussion/Log/2021 March 11#Template:Sbd]] until a consensus is reached, and readers of this page are welcome to contribute to the discussion. <!-- from Template:RFDNote --> [[User:Elli|Elli]] ([[User_talk:Elli|talk]] &#124; [[Special:Contributions/Elli|contribs]]) 13:06, 11 March 2021 (UTC)
 
Hello! Can someone help me fix the date format in Chechen? should be "2020 шеран 9 декабрь". [[User:Takhirgeran Umar|Takhirgeran Umar]] ([[User talk:Takhirgeran Umar|talk]]) 20:28, 9 December 2022 (UTC)
== Granularity coarser than month ==
 
== How to make date ranges sort to correct position in both ascending and descending displays? ==
Dates such as ''3Q 1984'', ''Spring 2000'' or ''Second Half of 2012'' sometimes pop up. In CS1 templates I can specify, e.g., {{para|date|Third Quarter 1984}}, but {{tl|date table sorting}} doesn't document an equivalent. What is the proper way to handle them? --[[User:Chatul|Shmuel (Seymour J.) Metz Username:Chatul]] ([[User talk:Chatul|talk]]) 15:26, 18 August 2021 (UTC)
 
Is there any way to make a [[MOS:DATERANGE]] sort to the correct chronological position in both ascending and descending displays? For example in [[Jack Deam#Filmography]] the date ranges sort by the first date in the range, which is correct if sorting oldest first but gives incorrect chronological order when using date sorting to display most recent at the top where it is the end of the range date that determines correct chronological order. [[Special:Contributions/213.18.145.207|213.18.145.207]] ([[User talk:213.18.145.207|talk]]) 13:44, 5 April 2023 (UTC)
== Display incorrect ==
:I believe not although you might check at [[WP:VPT]]. As I far as I know, each column has a single sort key which is used for both ascending and descending ordering. For example, <code>2016–2022</code> cannot be sorted by 2016 in one direction and 2022 in the other. I don't think it matters much for the example given. If it were a big deal, two columns would be needed, one for the first date and another for the last. [[User:Johnuniq|Johnuniq]] ([[User talk:Johnuniq|talk]]) 02:53, 6 April 2023 (UTC)
 
== Invalid date error for 2524 BC ==
In the preview of an edit I see ''Vorlage:Date table sorting'' instead of the date. the date is formatted as ´'| 5,91<ref name="HVZ-BW" /> || {{Date table sorting|1823|08}}''. Is something additionally needed?
 
[[User:Theking2|Theking2]] ([[User talk:Theking2|talk]]) 20:14, 28 July 2022 (UTC) [[User:Theking2|Theking2]] ([[User talk:Theking2|talk]]) 20:14, 28 July 2022 (UTC)
:{{U|Theking2}},The that[[Decolonisation looksof likeAsia]] anarticle invalidhas date.a Iftable youwith fixa cell containing the date, does2524 theBC. This template work?throws an error if used with this date. [[User:Jonesey95Wtmitchell|Jonesey95Wtmitchell]] ( [[User talk:Jonesey95Wtmitchell|(talk)]] <small>(earlier ''Boracay Bill'')</small> 1200:2016, 194 AugustJanuary 20222024 (UTC)
:I believe the following works:
:*<code><nowiki>{{dts|2524|||BC}}</nowiki></code> → {{dts|2524|||BC}}
:The missing parameters 2 and 3 are for the month and day. The era (BC etc.) is parameter 4. [[User:Johnuniq|Johnuniq]] ([[User talk:Johnuniq|talk]]) 00:38, 4 January 2024 (UTC)
:{{ping|Wtmitchell}} I should probably have notified you. [[User:Johnuniq|Johnuniq]] ([[User talk:Johnuniq|talk]]) 03:37, 4 January 2024 (UTC)
::Thanks. I applied fixed [https://en.wikipedia.org/w/index.php?title=Decolonisation_of_Asia&diff=1193505885&oldid=1192949085 here]. [[User:Wtmitchell|Wtmitchell]] [[User talk:Wtmitchell|(talk)]] <small>(earlier ''Boracay Bill'')</small> 04:39, 4 January 2024 (UTC)