This is the talk page for discussing improvements to the Time ago template. |
|
Archives: 1Auto-archiving period: 90 days |
Time Template‑class | |||||||
|
These are very small and short-lived problems, but I did notice the "0 days ago" on Benedict XVI's article today.
((time ago|((#time:Y|now))-((#time:n|now))-((#time:j|now))|min_magnitude=days))
-> 0 days ago
((time ago|((#time:Y|now+1 days))-((#time:n|now+1 days))-((#time:j|now+1 days))|min_magnitude=days))
-> 0 days' time
((time ago|-0 years|min_magnitude=years))
-> 0 years' time
((time ago|-0 months|min_magnitude=months))
-> 0 months' time
((time ago|-0 hours|min_magnitude=hours))
-> 0 hours' time
((time ago|-0 minutes|min_magnitude=minutes))
-> 0 minutes' time
((time ago|-0 seconds|min_magnitude=seconds))
-> 1 second's time
I think all these "0 X's ago"s are unnatural, like they seem very robotic or procedural.
So I propose this template simply prints out "today" and "tomorrow". And for completeness, do "this year" for 0 years ago, "this month" for 0 months, etc. And then maybe "right now" for 0 seconds ago. Brightgalrs (/braɪtˈɡæl.ərˌɛs/)[ᴛ] 17:22, 31 December 2022 (UTC)
This template currently generates Error: first parameter cannot be parsed as a date or time. when there is an error, but pages are not tracked in a category so that they can be fixed. Can someone please add Category:Pages using Time ago template with errors or something similar, probably wrapped in ((Main other)), so that these errors can be tracked? The error message is currently visible at Comparison of issue-tracking systems. – Jonesey95 (talk) 15:35, 12 January 2023 (UTC)