Format columns with time interval (today + 7 days) in MS Lists using JSON
Hello,
I've been trying to find a clean solution for my "MS Lists" for some time.
Here's the initial situation:
In the "Sprint" column there is a date when the corresponding entry is scheduled for the next sprint.
In order to get a better graphical representation of whether the date is coming up soon or has even already passed, I took the following steps:
If
Sprint
is on or before
Today
Display list item as: white text on a red background
If
Sprint is between
Today & 7/8/2024 (7 days into future from today)
Display list item as: black text on a yellow background
Unfortunately, with the second formatting there is no way to say "Today + 7 days"
In JSON there is the option of using "now+7d". Unfortunately, Lists can't do anything with that.
Are there other JSON commands that I can use to get MS List to achieve the desired effect without having to change the date in the conditional formatting every single day?
Thanks and regards,
Alexander