Remove trailing spaces

This commit is contained in:
Arik Fraimovich 2017-12-13 11:59:43 +02:00
parent 30136c4e97
commit 5ba15ef350

View File

@ -6,15 +6,15 @@ export default function init(ngModule) {
ngModule.filter('dateTime', clientConfig =>
function dateTime(value) {
if (!value) {
return '';
return '';
}
const parsed = moment(value);
if (!parsed.isValid()) {
return '-';
return '-';
}
return parsed.format(clientConfig.dateTimeFormat);
});
}