DatePipe Transform is different on ios and android

#1

This seems to be an known issue with Angular and Datepipe.
We seem to only have a problem on iphone.

Have this code
tempTrans[i].tranDate = this.dp.transform(tempTrans[i].tranDate, 'MM/dd/yyyy HH:mm');

Just trying to change the format of the date.
On Android the date and time is 08/24/2017 12:51
On iphone its 08/24/2017 06:51

I am running angular 5.0.0.
What is the best alternative to convert a date?

Time is showing wrong in html template binding