PDA

View Full Version : TimeField does not work in locales other than English



PremiereGlobal
28 Apr 2009, 4:46 AM
Hi All,

I think there is a bug in Ext.form.TimeField for locales other than English locale.
Scenario I have tried is following.
1:- included following files.
ext-all.css
ext-base.js
ext-all-debug.js
locale/ext-lang-ja.js

2:- Created a TimeField using

new Ext.form.TimeField({
minValue: '9:00 AM',
maxValue: '6:00 PM',
increment: 30
})
3:- Now values coming in TimeField drop down are translated for Japanese locale .

Problem:- I am not able to select drop down values. As TimeField is not accepting translated AM/PM value, Although it working fine in English locale.

Please suggest if I am doing anything wrong?