Designing Stationery » Customizing Dynamic HTML » Document Last Modified Date/Publish Date
Document Last Modified Date/Publish Date
ePublisher can add a time stamp to Dynamic HTML output that displays the date of the most recent generation. The publish date can be displayed in the page content area just after the content by default. This feature is made available by enabling the Page Style Option Publish Date shown at bottom of page.
If you would like to change the date format, it can be done with an override to the locales.xml file.
Copy locales.xml from:
C:\Program Files\WebWorks\ePublisher\2015.1\Formats\Shared\common\locale\locales.xml
To:
<Project Folder>\Formats\Shared\common\locale\locales.xml
In the locales.xml file, locate the element with the name PublishDateFormat. The value inside this element can be changed to match the desired date format. For more information on how to write proper format values in this element, refer to Microsoft's documentation on Custom date and time format strings.
Was this helpful?
Last modified date: 11/30/2021