Eladerezador
Eladerezador

Reputation: 1311

Angularjs - Format date (13 January 2016)

I have the next date:

<p>{{customer.date | date :  "fullDate"}}</p>

I would like to have this format: 13 January 2016

I am testing with formats different but dont get it.

How could i do it? thanks,

Upvotes: 0

Views: 30

Answers (1)

wvdz
wvdz

Reputation: 16651

Take a look at the AngularJS documentation: https://docs.angularjs.org/api/ng/filter/date

<p>{{customer.date | date :  "dd MMMM y"}}</p>

Upvotes: 1

Related Questions