prop("Completed") ? 0 : dateBetween(prop("Due"), now(), "days")
prop("Completed") ? 0
If Completed
is not empty, display 0
.
: dateBetween(prop("Due"), now(), "days")
Otherwise, display the number of days between the Due
date and today.
prop("Completed") ? "✅ Done" : ((prop("Days Until Due") <= 7) ? "🥵 High" : ((prop("Days Until Due") <= 14) ? "😅 Medium" : "😎 Low"))
prop("Completed") ? "✅ Done"
If Completed
is not empty, display ✅ Done
. Otherwise do the following.
: ((prop("Days Until Due") <= 7) ? "🥵 High"
If Days Until Due
is less than or equal to 7
, display 🥵 High
.
: ((prop("Days Until Due") <= 14) ? "😅 Medium"
Otherwise, if Days Until Due
is less than or equal to 14
, display 😅 Medium
.
: "😎 Low"))
Otherwise, display 😎 Low
.
<aside> <img src="https://s3-us-west-2.amazonaws.com/secure.notion-static.com/1649d2f9-1b45-478a-86b4-341fbe27e06f/benny.png" alt="https://s3-us-west-2.amazonaws.com/secure.notion-static.com/1649d2f9-1b45-478a-86b4-341fbe27e06f/benny.png" width="40px" /> By Ben • Latest • Was this helpful? Please consider buying me a coffee. Cheers!
</aside>