Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?)

like image 677
jaffa Avatar asked Dec 21 '22 06:12

jaffa


1 Answers

Try:

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

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

like image 94
Rachel Gallen Avatar answered Feb 23 '23 02:02

Rachel Gallen