PDA

View Full Version : Date format - Localization of month & day name is not handled



sachintotale
22 Mar 2011, 4:27 PM
Hi,

I am formatting a date using Ext.util.Format.date() and pass the format pattern as 'l, F d, Y g:i:s A T' for chinese locale, the returned formatted value does not have month name localized, e.g.

Sunday, March 06, 2011 12:15:30 ?? PST

I have the Ext JS chinese locale pack included in my index.html.

Thanks
Sachin

yhwh
22 Mar 2011, 6:18 PM
Hi Sachin,
The locales packs are community contributions, I have inspected the chinese locale pack and it seems that several Ext.Date overrides are missing. We are currently trying to clean all locales files. A lots of them aren't up to date at the moment.