I set my system timezone to ET and in Mat datepicker date changes from the actual date. Please help me resolve this issue.
<div *ngIf="startDateWidget" class="filter-field date-field">
<label class="labeltext">Start Date {{startOfMonth}}</label>
<mat-form-field color="accent" appearance="fill">
<input matInput [matDatepicker]="startDate" [(ngModel)]="startOfMonth" (dateChange)="filterChange('change',startDateId, $event.value)" [max]="endDateValue">
<mat-datepicker-toggle matSuffix [for]="startDate"></mat-datepicker-toggle>
<mat-datepicker #startDate color="primary"></mat-datepicker>
</mat-form-field>
</div>
Any solution appreciated!