Skip to main content

Property tag in IBM Web Content Manager Menu and Personalization component does not render Date correctly


Technote (troubleshooting)


Problem

When Property tag is used like [Property context="autofill" type="content" format="MMMMM d, yyyy" field="generaldateone"] in Menu or Personalization component, the date is rendered as "O 12,2012" instead of "October 12, 2012"

Cause

WCM is using a java class java.text.SimpleDateFormat and this appears to be an issue with this class although MMMMM is supported. The issues appear to be with the value returned by Java

Resolving the problem

As a workaround, developers could use format="Date_LONG" or format="MMMM d, yyyy" instead of format="MMMMM d, yyyy"

Related information

Java Doc
IBM Web Content Manager Infocenter

Rate this page:

(0 users)Average rating

Copyright and trademark information

IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.

Rate this page:


(0 users)Average rating

Add comments

Document information

IBM Web Content Manager

General


Software version:
8.0, 8.0.0.0


Operating system(s):
AIX, Linux, Solaris, Windows, i5/OS


Software edition:
Java edition


Reference #:
1625729


Modified date:
2013-02-18

Translate my page

Content navigation