jaffa
jaffa

Reputation: 27360

Is there a comprehensive list of date formats in Sencha Touch

Can't find where in their docs they have all their date time formats specified? I want a date to appear like so

13 Jan 2013

I have found this pattern:

date("F j, Y")

But this gives me the long month name. (Not sure why they have picked the rather cryptic F for a month and j for a day?)

Upvotes: 4

Views: 6869

Answers (1)

Rachel Gallen
Rachel Gallen

Reputation: 28573

Try:

Ext.Date.format(dt, 'd M, Y')

Note the capital 'M' (see the full list of date formats here).

Upvotes: 11

Related Questions