flowable-engine icon indicating copy to clipboard operation
flowable-engine copied to clipboard

Locale support for MomentJS (UI)

Open yvoswillens opened this issue 9 years ago • 1 comments

As described in forum post (https://forum.flowable.org/t/momentjs-does-not-work-in-modeler-and-task/614) current MomentJS is not taking the browser's locale into account.

MomentJS should be initialized with the locale determined by Angular translate.

yvoswillens avatar Jun 06 '17 08:06 yvoswillens

Option datesLocalization is added to the app-cfg.js files in the UI apps to use the browser language for moment js. The default value is set to false, so it will use English by default. There's an issue currently to get the locale determined by Angular translate, so therefore this intermediate solution.

tijsrademakers avatar Jun 08 '17 08:06 tijsrademakers