Hi there,
I'm trying to work out a rule to color backround of a date cell. The condition would be "if the date in the current field is greater than today, then color backround, else dont change the color". Currently the not working JSON code is:
{
"content": "=CurrentField",
"style": {
"background-color": "=if(CurrentField > today, '#FF0000', '')"
}
}
I've also tried different variants of the condition like "date(CurrentField) > date(today)" or "CurrentField > date('TODAY')" and other similar, but none worked. Please help :)