1 Mar 2012 1:37 PM #1
Ext.Date.format breaks ugly on wrong input
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
Bancha - Seamless integrate CakePHP with ExtJS and Sencha Touch
1 Mar 2012 3:02 PM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
Thanks for the report.Mitchell Simoens @LikelyMitch
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
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 email@example.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.