Having trouble displaying a date correctly on Internet Explorer using Angular. The code works perfectly on Chrome, Firefox, and other browsers, but not on IE. Here is the code snippet :
<span>{{menu.modifiedDate ? (menu.modifiedDate | date : "dd-MM-y HH:mm:ss") : '-'}}</span>
This is the output in Google Chrome :
15-06-2017 08:39:39
However, this is what Internet Explorer is displaying :
15-06-2017 08:00:6/15/2017 8:39:39 AM:6/15/2017 8:39:39 AM
Can anyone help me figure out what's causing the issue?