We are customizing our email template activities-email.ftl. The date of the activity is currently displayed using the following freemarker statement:
However, since many of our users are in different timezones we would like to display the date in a relative format, e.g "2 days ago", "3 hours ago", "1 week ago" etc.
We notice that activities displayed on the Alfresco Share activities dashlet are already displayed like this.
Does anyone know if there is an existing function that we can use to do this or do we have to create our own freemarker function in the template?