How to force Angular material's datepicker not to convert date to UTC? When I select a date, everything is okay, but when I get a date in my server side, it is the previous date.
<mat-form-field class="ship-calendar">
<input matInput
[matDatepicker]="shipPickerInput
[(ngModel)]="rowData.ShipDate"
disabled
(dateChange)="shipmentFocusout($event, rowData, 'ShipDate')">
<mat-datepicker-toggle matSuffix [for]="shipPickerInput">
</mat-datepicker-toggle>
<mat-datepicker #shipPickerInput disabled="false">
</mat-datepicker>
</mat-form-field>
I send this ShipDate to myserver.