diff --git a/demo-shell/src/app.config.json b/demo-shell/src/app.config.json index 8686c4b995..b770b4ad60 100644 --- a/demo-shell/src/app.config.json +++ b/demo-shell/src/app.config.json @@ -441,7 +441,7 @@ "dateValues":{ "defaultDateFormat": "mediumDate", "defaultDateTimeFormat": "MMM d, y, H:mm", - "defaultLocale": "en-US" + "defaultLocale": "en" }, "files": { "excluded": [ diff --git a/lib/core/card-view/components/card-view-dateitem/card-view-dateitem.component.ts b/lib/core/card-view/components/card-view-dateitem/card-view-dateitem.component.ts index cbfd3df618..f7fde2fe35 100644 --- a/lib/core/card-view/components/card-view-dateitem/card-view-dateitem.component.ts +++ b/lib/core/card-view/components/card-view-dateitem/card-view-dateitem.component.ts @@ -68,7 +68,7 @@ export class CardViewDateItemComponent implements OnInit { this.dateAdapter.setLocale(locale); }); - ( this.dateAdapter).overrideDisplayFormat = this.dateFormat; + ( this.dateAdapter).overrideDisplayFormat = 'MMM DD'; if (this.property.value) { this.valueDate = moment(this.property.value, this.dateFormat);