From ed8d6cab9d506dd828165e340a03da87db8aa547 Mon Sep 17 00:00:00 2001 From: Albert Ke Date: Thu, 16 Aug 2018 16:57:39 -0400 Subject: [PATCH] Fix issue where the date displayed by mat-datepicker was one day off from what was specified in the JSON --- .../material-design-framework/material-datepicker.component.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/src/framework-library/material-design-framework/material-datepicker.component.ts b/src/lib/src/framework-library/material-design-framework/material-datepicker.component.ts index 34f27ebf..1cf4307a 100755 --- a/src/lib/src/framework-library/material-design-framework/material-datepicker.component.ts +++ b/src/lib/src/framework-library/material-design-framework/material-datepicker.component.ts @@ -23,6 +23,7 @@ import { dateToString, hasOwn, stringToDate } from '../../shared'; [placeholder]="options?.title" [required]="options?.required" [style.width]="'100%'" + [value]="dateValue" (blur)="options.showErrors = true">