The steps to change the date and time format:
1. edit CalemEAM/client/conf/CalemConfCustom.js, add the following lines:
// European date and time
I18nMsg["formatDateShort"] = "d/MM/yy";
I18nMsg["formatTimeShort"] = "H:mm";
CalemConf['text_formatter']['date'] = {
read: ['EEE, ', I18nMsg['formatDateShort']].join(''),
edit: I18nMsg['formatDateShort'],
server: 'yyyy-MM-dd'
};
CalemConf['text_formatter']['time'] = {
read: I18nMsg['formatTimeShort'],
edit: I18nMsg['formatTimeShort'],
server: 'HH:mm:ss',
parse: {ampm_reqd: false, pmMax: 7}
};
CalemConf['text_formatter']['datetime']= {
read: ['EEE, ', I18nMsg['formatDateShort'], ' ', I18nMsg['formatTimeShort']].join(''),
server: 'yyyy-MM-dd HH:mm:ss'
};
2. Go to CalemEAM/bin, run the following command:
deploy build
This command will include the changes in CalemConfCustom.js in released files. Launch CalemEAM from a browser (or refresh a CalemEAM browser session if any), the date/time format should be changed.