Add precision?
-
Thank you for this great plugin!
Would it be possible to add more precision to the plugin, something like as I suggested in one or both of the suggested examples below? The 2 shortcut-code letters suggested here are currently not in use if I’m correct. In both cases, the result relies on the period passed since the last full year.
Example 1: Half-year precision [DatetimeDifference startDate=”2023-01-07″ endDate=”now” format=”y.h year(s)”] resolves to 2.5 year(s)
Example 2: Month precision Count the number of passed months only in the last year so [DatetimeDifference startDate=”2023-01-07″ endDate=”now” format=”y year(s) & n month(s)”] resolves to 2 year(s) and 7 month(s)
In the examples, “now” assumed to be some date in March 2026 and precision would return 0 (zero) if applicable.
Thank you for looking into this!
You must be logged in to reply to this topic.