I am trying to format the date time that I fetch from the DB in the following format:
15/09/2016, 20:45
However using the default date
Pipe provided by Angular2, I get the following (When I run on a real device) However, On the browser it shows the correct format:
15/09/2016, 20:8:45 PM
Here is how I am formatting it in the HTML side:
{{ order.time | date:"dd/MM/y, HH:mm" }}
Any ideas on what's wrong?