I am not sure If I need to add anything here. I have a table with a date column. When the date column gets processed through the Angular date pipe, just to change the format to display, it subtracts a day from the actual date. I checked it without adding the date pipe, I get the actual date. What could be wrong?
<div *ngSwitchCase="'pending'" style="color:#367db9">
{{ workOrder.postDate | date: 'MMM d, y'}}
</div>