Success! Looks like we've fixed this one. According to our records the fix was applied for EXTJSIV-5501 in 4.1.
  1. #1
    Sencha User
    Join Date
    Dec 2008
    Location
    Vienna, Austria
    Posts
    493
    Vote Rating
    7
    Dumas is on a distinguished road

      0  

    Default 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
    Browser versions tested against:
    • Safari 5.1.3
    DOCTYPE tested against:
    • HTML 4
    Description:
    • 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.
    Steps to reproduce the problem:
    • Open the API Docs
    • Type Ext.Date.format(undefined, "Y-m-d") in the console
    The result that was expected:
    • '' (empty string)
    The result that occurs instead:
    • an exception
    Test Case:


    Code:
       Ext.Date.format(undefined, "Y-m-d")








    best regards
    Roland

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    St. Louis, MO
    Posts
    33,582
    Vote Rating
    434
    mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of

      0  

    Default


    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.