mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-4721] Fix Material Datetime Picker date format (#4893)
This commit is contained in:
committed by
Eugenio Romano
parent
4d0c98d753
commit
e03799e038
@@ -68,7 +68,7 @@ export class CardViewDateItemComponent implements OnInit {
|
||||
this.dateAdapter.setLocale(locale);
|
||||
});
|
||||
|
||||
(<MomentDateAdapter> this.dateAdapter).overrideDisplayFormat = this.dateFormat;
|
||||
(<MomentDateAdapter> this.dateAdapter).overrideDisplayFormat = 'MMM DD';
|
||||
|
||||
if (this.property.value) {
|
||||
this.valueDate = moment(this.property.value, this.dateFormat);
|
||||
|
Reference in New Issue
Block a user