You need to sign in to do that
Don't have an account?
Date formatting problem: - The value attribute on <apex:outputText> is not in a valid format.
Has this bug been re-introduced again?
This worked in a dev organisation a few weeks ago:-
<apex:outputText value=" {0,date,dd MMMM yyyy}" >
<apex:param value="{!content[0].Release_Date__c}" />
</apex:outputText>
But in a new dev org now gives a save error:
The value attribute on <apex:outputText> is not in a valid format. It must be a positive number, and of type Number, Date, Time, or Choice.
{!content[0].Release_Date__c}<br/>
{!content[0].CreatedDate}<br/>
<apex:outputText value=" {0}" >
<apex:param value="{!content[0].Release_Date__c}" />
</apex:outputText><br/>
displays:-
Thu Mar 24 00:00:00 GMT 2011
Thu Mar 24 12:12:06 GMT 2011
3/24/11 12:00 AM
and they are definitely date fields in a custom object.
How does one raise a bug?
Are you sure the api version of the page is the same i nthe org where it works vs the page in the org where it doesn't?
Both are <apiVersion>20.0</apiVersion>