Adding status next to the calendar from Meta Bind depending on date

I’m using Obsidian with the Meta Bind plugin. I have a calendar on the left side and I want to have on the right side of the calendar a green text “ongoing” OR red text “Ended” depending if the date on the calendar is the future date or if it’s today/past.

Example:
I am using this command for the calendar: INPUT[date:date1]
if the date is today or past - red text on the right side saying “Ended”
If the date is in the future - green text on the right side saying “Ongoing”

How can I achieve it?

Thanks in advance!

1 Like