Template talk:Start date and age

"days ago" too high if month is given as full name
—Dexxor (talk) 09:29, 1 August 2020 (UTC)
 * produces correctly 1 day ago
 * produces 30 days ago
 * Partially expanded template:
 * Jul 31, 2020 &#059;&#032;3.9997441540461693 years ago &#160;( 2020--31 )
 * July 31, 2020 &#059;&#032;3.9997441540461693 years ago &#160;( 2020--31 )
 * The first part is fine; but the second is not:
 * → 3.9997441540461693 years ago
 * → 3.9997441540778795 years ago
 * which in turn means that the problem is in Module:Time ago. I can go no further. -- Red rose64 &#x1f339; (talk) 10:10, 1 August 2020 (UTC)

How to show from Wikidata?
If this is not possible - please mention in documentation. Vitaly Zdanevich (talk) 18:56, 29 March 2021 (UTC)

Change template
When I view Mountain Dew, it says 82 years ago instead of 0 years years ago. Please change this so it could work more like Template:Birth year and age. — Preceding unsigned comment added by KaiHunter12 (talk • contribs) 01:58, 6 June 2022 (UTC)
 * I think that the problem is in → . -- Red rose64 &#x1f339; (talk) 14:07, 6 June 2022 (UTC)
 * Template:Years or months ago should also be updated to correctly show 0 years years. KaiHunter12 (talk) 19:22, 7 June 2022 (UTC)
 * That's what I'm saying - the problem is in that template, not this one. If you can get Template:Years or months ago amended, you'll find that then behaves as you want. But you also need to ensure that such a change does not compromise the other places that  is used. -- Red rose64 &#x1f339; (talk) 23:17, 7 June 2022 (UTC)

Removal of &#x7B;&#x7B;Error&#x7D;&#x7D;
Wbm1058, to answer the question in Special:Diff/1099411584 – the problem is visible on every page that uses it. Please take a look at Template:Start date and age/testcases. —⁠andrybak (talk) 16:52, 20 July 2022 (UTC)
 * Thanks andrybak. Sorry I did not check the test cases. My bad. wbm1058 (talk) 16:57, 20 July 2022 (UTC)
 * Doh. I removed  but neglected to remove the closing   – wbm1058 (talk) 17:04, 20 July 2022 (UTC)

I have a change ready in the sandbox which will just return blank when parameters 1, 2, and 3 are all missing. Editors are pulling Wikidata to use for this template's parameters and often there is no date in Wikidata. This is considered "normal" so returning an error has been problematic. For example in the Python (programming language) infobox. I was reverted after I removed Wikidata-filled parameters where Wikidata was not returning any "latest preview date". See the relevant test cases. The new behavior is to only show the error when parameter 1 is missing and parameter 2 and/or 3 are not missing. If there are no timely objections I will make the sandbox code go live. – wbm1058 (talk) 18:22, 20 July 2022 (UTC)

Template-protected edit request on 26 April 2023
I think we need prehistoric years (0BC and before) to be included. 50.39.178.57 (talk) 03:56, 26 April 2023 (UTC)
 * Red information icon with gradient background.svg Not done for now: please establish a consensus for this alteration before using the template. BilCat (talk) 04:03, 26 April 2023 (UTC)
 * Also: (i) there is no such year as 0BC - the year before AD 1 is 1 BC; (ii) that is not the meaning of "prehistoric". -- Red rose64 &#x1f339; (talk) 16:21, 26 April 2023 (UTC)
 * It's possible to use a negative year:

-2833
 * But "2833 BC" as output would be better. --Kallichore (talk) 21:01, 26 April 2023 (UTC)
 * ❌. This is a documented limitation of the template, for reasons outside of the template's control. – Jonesey95 (talk) 22:39, 26 April 2023 (UTC)