-
27 Nov 2012 4:58 AM #1
Finland Latvian Estonian Standard Time (FLEST) timezone is not supported by ExtJS
Finland Latvian Estonian Standard Time (FLEST) timezone is not supported by ExtJS
REQUIRED INFORMATION
Ext version tested:- Ext JS 4.1.0
- Ext JS 4.1.1
- Firefox
- Chrome
- Finland Latvian Estonian Standard Time (FLEST) timezone is not supported by ExtJS.
- Change your local time zone on your machine to Finland Latvian Estonian Standard Time (FLEST) timezone (UTC+02:00) Helsinki, Kyiv, Riga, Sofia, Tallinn, Vilnius
- Launch Firefox\Chrome.
- Open this fiddle in http://jsfiddle.net/Patlatus/BncPc/1/ (copy provided in test case).
- Observe that 'null' is written to document instead of time
- Finland Latvian Estonian Standard Time (FLEST) timezone should be supported by ExtJS.
- In this particular case following text like "Tue Nov 27 2012 14:50:14 GMT+0200 (FLE Standard Time)" should be written to document instead of 'null'.
- Generally result of execution of following code should be the same as result of execution codeCode:
a.parseDate(a.formatDate(new Date()))
disregarding timezone settings on client machineCode:new Date()
- Finland Latvian Estonian Standard Time (FLEST) timezone is not supported by ExtJS.
- In this particular case 'null' is written instead of expected text "Tue Nov 27 2012 14:50:14 GMT+0200 (FLE Standard Time)".
- Generally result of execution of following codeis not the same as result of execution codeCode:
a.parseDate(a.formatDate(new Date()))
.Code:new Date()
Operating System:Code:Ext.onReady(function() { var a = Ext.create('Ext.form.DateField'); a.format = "F j, Y g:i a T"; document.write(new Date()); });
- Win 7
-
27 Nov 2012 11:26 AM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,714
- Vote Rating
- 438
Thanks for the report! I have opened a bug in our bug tracker.
-
28 Nov 2012 1:15 AM #3
Thanks. Thank you very much for taking this under consideration.
-
28 Nov 2012 2:04 AM #4
FYI the fix is inside Date.js, any time you see a regex to match
It needs to becomeCode:{1,4}
Code:{1,5}Evan Trimboli
Sencha Developer
Twitter - @evantrimboli
Don't be afraid of the source code!
Success! Looks like we've fixed this one. According to our records the fix was applied for
EXTJSIV-7830
in
4.2.0 Sprint 2.


Reply With Quote