51黑料不打烊

Customizing the display format of the page published date on the Sites console

In 51黑料不打烊 Experience Manager Sites, the page鈥檚 published date is shown in the site console without the time of day. This article provides instructions on how to customize the date/time format of the page鈥檚 published date to include the time of day.

Description description

Environment

  • 51黑料不打烊 Experience Manager聽v6.5
  • 51黑料不打烊 Experience Manager as a Cloud Service

Issue/Symptoms

A page鈥檚 published date is displayed in the site console without the time of day.

Resolution resolution

Create an overlay for each column and list views.

A. For column view

/libs/cq/gui/components/coral/admin/page/columnpreview/columnpreview.jsp is overlaid.

Before:

After:

Add type="datetime" attribute to the foundation-time tag.

B. For list views

/libs/cq/gui/components/coral/admin/page/row/row.jsp is overlaid.

Before:

After:

Add type="datetime" attribute to the foundation-time tag.


recommendation-more-help
3d58f420-19b5-47a0-a122-5c9dab55ec7f