Issue
- After performing an upgrade, when trying to use the.getDisplayDate() method in the widget template, errors are returned.
Environment
- Liferay DXP 7.2-7.4
Resolution
- The .getDisplayDate() method has been deprecated as of DXP 7.2, according to the following documentation: Method Summary with no direct replacement, for the case, the ideal is to evaluate the available methods and identify one that can be used.
Additional Information
Subscriber Exclusive Content
A Liferay Enterprise Subscription provides access to over 1,500 articles that include best practices, troubleshooting, and other valuable solutions. Sign in for full access.
Sign In