View Full Version : DateTIme Locale Support

10 Nov 2015, 3:09 AM

Currently we are rendering a datetime field in a panel grid(Ext.grid.Panel) along with many other fields using a daterenderer(Ext.util.Format.dateRenderer).

The issue is that now we need to display this datetime in different locales and we observed that there is no support for locales. Could you please let me know on an immediate basis how we can address this issue?


11 Nov 2015, 7:37 PM
Which 4.x version are you using? There are a number of different locale files included with the SDK for date formatting. You can also check out http://docs.sencha.com/extjs/4.2.4/extjs-build/examples/locale/multi-lang.html for dynamic localization.

17 Nov 2015, 12:43 AM
We are using extjs 4.1.3.

We need to represent datetime in the panel grid for chinese locale as below :

For PM : 30/09/2015 ?? 11:03
For AM : 01/10/2015 ?? 02:03

So, how we can achieve this?