There are some codes like below:
<apex:outputText value="{!IF(item.FinishedDate__c == null, 'Not Finished', item.FinishedDate__c)}"/>
The item.FinishedDate__c is defined as Date, and I want the format of output is "yyyy-MM-dd", so I tried to modeify the codes like below but failed:
<apex:outputText value="{!IF(item.FinishedDate__c == null, 'Not Finished', {0,date,yyyy-MM-dd})}">
<apex:param value="{!item.FinishedDate__c}" />
</apex:outputText>
Could someone help me? Thanks!