mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
#944 fix date formatting for completed forms
This commit is contained in:
@@ -176,7 +176,7 @@ export class DisplayValueWidget extends WidgetComponent implements OnInit {
|
||||
|
||||
if (column.type === 'Date') {
|
||||
if (result) {
|
||||
return moment(result.split('T')[0], 'YYYY-MM-DD').format('DD-MM-YYYY');
|
||||
return moment(result.split('T')[0], 'YYYY-MM-DD').format('D-M-YYYY');
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user