--- a/src/pyams_default_theme/shared/common/portlet/workflow.py Mon Jun 29 22:52:42 2020 +0200
+++ b/src/pyams_default_theme/shared/common/portlet/workflow.py Thu Jul 02 16:12:32 2020 +0200
@@ -30,6 +30,8 @@
class SharedContentPublicationDataProvider(ViewContentProvider):
"""Shared content publication date viewlet"""
+ date_format = 'long'
+
@property
def publication_date(self):
info = IWorkflowPublicationInfo(self.context, None)
@@ -40,4 +42,4 @@
except UnknownLocaleError:
negotiator = get_utility(INegotiator)
locale = Locale(negotiator.server_language)
- return format_date(info.visible_publication_date, format='long', locale=locale)
+ return format_date(info.visible_publication_date, format=self.date_format, locale=locale)