Currently relative() rounds up, and lacks verbosity. I want it to display like “2 months 19 days 18 hours 40 minutes 24 seconds” vs how it displays now; “3 Months”.
I am using now() - date.relative() as an example.
Dataview date math = date(today) - date([[2025-07-23]]) will display “2 months, 2 weeks, 5 days ago”
Proposed solution
relative() should take some type of formatting option. Like `relative(“YYYY MM DDD”)
Another workaround is making an object-like list of lists with the duration’s calculated portions of time and labels (years, months, days, hours, etc.) and filtering & mapping to display the portions that exist.
The forum and Discord have seen a few help requests about how to achieve this, and I too would greatly appreciate a built-in duration format function instead.
edit to add:
I’m talking more a duration format function to make any duration verbose, not just some flags that are tied to the relative() function.