I have a great display template that is working almost as expected. I now have a request to have the Due Date show RED once it is past due. I am still learning how to change things in the display template but for the most part it is working well.
How can I add the var to tell it if it is past due to change it to red. I am using regular date column in the list, and have a refinabledate managed property for the display template. I am only wanting the date and have ensured that the field is set to that.
I would appreciate any help. Dorinda
PS if anyone can help get the date display to work I would love that as well I would like it to be just mm/dd/yyyy but the time is still showing up and I cannot figure that out.