I hope this is the right place to post this. I'm not sure if it's a templating thing or what.
the Diary module displays the Start and End dates for every event.
I would like to make it so that if the start and end dates match, then only one date is displayed.
I have changed the template thus:
<% if Start = End %>
<% else %>
$Start.Nice till $End.Nice
<% end_if %>
From $StartTime.Nice to $EndTime.Nice
but it *always* goes to $Start.Nice till $End.Nice, even when I've tried changing the condition to <% if Start = Start %>
If I try to qualify the variables somewhat, by saying something like <% if Start.Nice = End.Nice %> or whatever else, I get the "unexpected '}' in template" error.
What am I doing wrong and how can I fix it?