Hi ,
How can we change the cocoon default date format. cocoon is accepts MM/dd/YY. When we change the format as YYYY-mm-DD. Cocoon doesn't allows us to enter date in this format.
How can we change the cocoon default date format. cocoon is accepts MM/dd/YY. When we change the format as YYYY-mm-DD. Cocoon doesn't allows us to enter date in this format.
We have the tried the following :
<fd:field id="Date">
<fd:label><i18n:text> Date: </i18n:text></fd:label>
<fd:datatype base="date">
<fd:converter type="formatting" style="long">
<fd:patterns>
<fd:pattern>YYYY-mm-DD</fd:pattern>
</fd:patterns>
</fd:converter>
</fd:datatype>
<fd:validation />
</fd:field>
Can any one please
let us know where we are going wrong or any pointer to achieve the same would
appreciated
Thanks in
advance.
Regards,
Moin
Confidentiality Notice The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain confidential or privileged information. If you are not the intended recipient, please notify the sender at Wipro or [EMAIL PROTECTED] immediately and destroy all copies of this message and any attachments. |
