I'm having a strange issue where I can't seem to determine whether a standard date field in EE2 contains data. For the date variable {birth_date}:
{if birth_date} Do stuff {/if}
In my code, this does the same thing (validates as true) regardless if the date field in an entry has data or not. I have swapped in other field types in place of this and they all behave as expected in the logic, but not the date field. Any idea if logic for date fields needs to be written differently? Seems like it shouldn't but I've spent several hours trying to figure this one out...