I’m making an event listing and trying to compare 2 custom date fields. One is for event start (event_start), the other for end(event_end). What I’m trying to do is compare the value to see if they are the same day and if so to change the event_end formatting to omit the day and date. I have this but it’s probably not even close:
{if event_start == "%z" AND event_end == "%z"}–
{event_end format="%g:%i%a"}{if:else}{event_end format="%l %F %d, %Y %g:%i%a"}{/if}
I couldn’t find a reference for comparing the value of two fields in the documentation and I figure the date thing is making it more complex.
Thanks.
