I am using bootstrap-datetimepicker and using ISO8601 datetime format as yyyy-mm-ddThh:ii:ssZ as mentioned in their options section

In my controller, I do

transaction.date = $('.form_datetime input').val();

which sends the data to backend as (console.log)

created_on: "Wed, 08 May 2013 23:18:32 -0000"

and saves in database as

2013-05-08 16:18:32-07

In my template, I do

<td>{{ transaction.created_on | date:'medium'}}</td>

and I see the output on my HTML as

Wed, 08 May 2013 23:18:32 -0000

But as per the Angular doc, it should be for format Oct 28, 2010 8:40:23 PM

What is that I am missing?

Edit
Report