10-17-2013 03:33 AM
10-18-2013 01:16 AM
Alfresco.util.formatDate(DateObject, Alfresco.util.message("date-format.shortDate"));
10-18-2013 01:57 AM
${SHARE_ROOT}\js\alfresco\renderers\i18n\Date.properties
and components\documentlibrary\documentlist-min.js
aa=Alfresco.util.relativeTime
,aa is a javascript function that convert iso8601 time format to relative time ,then search with keyword "aa(" ,you'll find something like this.msg("details."+a5+"-by",aa(a7)
change this piece of code to
this.msg("details."+a5+"-by",a7
,and save the file.08-15-2019 12:36 AM
We need to edit the <alfresco home>\tomcat\webapps\share\WEB-INF\classes\alfresco\messages\common.properties as well as <alfresco home>\tomcat\webapps\share\WEB-INF\classes\alfresco\messages\common_en.properties
the second file the locale specific file should also be modified.
## Date Formats
#Used client side (uses Alfresco.util.formatDate)
date-format.default=mm/dd/yyyy
These changes only impact the display format of date, if we need to make changes for form we need to modify in <alfresco home>\tomcat\shared\classes\alfresco\web-extension\site-webscripts\org\alfresco\components\form\form.get_en.properties and form.get.properties.
Hope this will help you
08-15-2019 04:26 AM
Ideally, you should never edit any of the default files and instead use extension methods (e.g. Surf Extensibility Module with a i18n customisation bundle) to add any overrides via custom files.
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.