Hi @miroslavglavic
Thanks for reporting this. In a previous update, I had broken the functionality. However, after writing automated tests for the plugin, I realized this and fixed it as originally intended.
Your question helps me to know that I need to write the documentation better.
Writing:
– [years-since y=2019 m=12 d=31] as you have noted will give you the years, month and days.
– [years-since y=2019 m=12] will give you the years and months only.
– [years-since y=2019] will give you the years only.
Jumping onto this thread with a relevant question…
I’d like to add the Year, Month, Date for the purpose of calculation, but only display the Year.
For example, if the business started on Nov 15, 2020, I’d like to say that it’s been around “3 years” up until Nov 15, 2024, when it switches to “4 years”.
However if I put: [years-since y=2020 m=11 d=15] it displays as “3 years, 5 months, 2 days” — whereas I’d like it to just say “3 years”.
Is this possible? To enter the full day for the calculation, but only display the year? Thank you
@pauldrecksler I have thought about this. Can you open a new ticket for this as a feature request? I have thought about it myself. It could help in many cases.
Sure thing. Will do. Thanks.
Hi @miroslavglavic, was this helpful?