Tasklist Localization, problem with dateLocales section


#1

I’m using es.json for tasklist app, buth when I add dateLocales section in the process instances created I see: Creado 2019-07-23T18:01:34:624-0500, and in the browser console I can see the next error:

TypeError: “createDuration(…).locale(…) is undefined”
from http://localhost:8080/camunda/lib/deps.js?bust=7.11.0:169999
updateTime http://localhost:8080/camunda/lib/deps.js?bust=7.11.0:94974
updateMoment http://localhost:8080/camunda/lib/deps.js?bust=7.11.0:95008
angularMoment http://localhost:8080/camunda/lib/deps.js?bust=7.11.0:95025
$digest http://localhost:8080/camunda/lib/deps.js?bust=7.11.0:27136
$apply http://localhost:8080/camunda/lib/deps.js?bust=7.11.0:27496
done http://localhost:8080/camunda/app/tasklist/scripts/camunda-tasklist-ui.js?bust=7.11.0:1
f http://localhost:8080/camunda/app/tasklist/scripts/camunda-tasklist-ui.js?bust=7.11.0:1
callback http://localhost:8080/camunda/app/tasklist/scripts/camunda-tasklist-ui.js?bust=7.11.0:1
p http://localhost:8080/camunda/app/tasklist/scripts/camunda-tasklist-ui.js?bust=7.11.0:1
emit http://localhost:8080/camunda/app/tasklist/scripts/camunda-tasklist-ui.js?bust=7.11.0:1
onreadystatechange http://localhost:8080/camunda/app/tasklist/scripts/camunda-tasklist-ui.js?bust=7.11.0:100:

What I hope to see is the translation of: Created X days ago.
any help?


#2

Hi @cyberatl1,

what version of camunda are you using?


#3

I’m using 7.11 version, I’m using tomcat and wildfly version and the error out in both versions.


#4

Sorry for the late reply. We fixed the issue with CAM-10429. The fix will be included in version 7.12.0 which will be released end of november.

Until then, you can try or use the latest alpha build which can be downloaded here: https://camunda.com/download/ (under ‘Preview Release’)