-
1 Mar 2012 1:37 PM #1
Ext.Date.format breaks ugly on wrong input
Ext.Date.format breaks ugly on wrong input
REQUIRED INFORMATION
Ext version tested:- Ext 4.0.7
- Safari 5.1.3
- HTML 4
- In Safari executing Ext.Date.format(undefined, "Y-m-d") results in an 'undefined is not a function' error, which is very hard to track if it is e.g. used in an tpl. It's also very bad when using the date column format property.
- In Chrome this works properly.
- Open the API Docs
- Type Ext.Date.format(undefined, "Y-m-d") in the console
- '' (empty string)
- an exception
Code:Ext.Date.format(undefined, "Y-m-d")
best regards
RolandRoland Schütz
Senior Software Architect
---
Bancha Project - Seamless integrate CakePHP with ExtJS and Sencha Touch
-
1 Mar 2012 3:02 PM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,714
- Vote Rating
- 436
Thanks for the report.
Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.
Success! Looks like we've fixed this one. According to our records the fix was applied for
EXTJSIV-5501
in
4.1.


Reply With Quote