Results 1 to 2 of 2

Thread: PullRefresh don't use lastUpdatedDateFormat for the first render

    Success! Looks like we've fixed this one. According to our records the fix was applied for TOUCH-4092 in a recent build.
  1. #1
    Sencha User
    Join Date
    Nov 2012
    Posts
    34
    Vote Rating
    2
      0  

    Default PullRefresh don't use lastUpdatedDateFormat for the first render

    REQUIRED INFORMATION


    Ext version tested:
    • Sencha Touch 2.2.0-b1


    Browser versions tested against:
    • Chrome 25


    Description:
    I wanted to get rid of the custom pullTpl (the only changed thing was the datetime format).
    But the original (hardcoded in pullTpl) date format is used for the first render.

    It is related to http://www.sencha.com/forum/showthread.php?253306


    Steps to reproduce the problem:
    • Use the pullRefresh with custom lastUpdatedDateFormat: 'd. m. Y H:i'


    The result that was expected:
    • Date formated with d. m. Y H:i on the first render


    The result that occurs instead:
    • Date formated with m/d/Y h:iA on the first render


    HELPFUL INFORMATION

    Possible fix:
    • Use lastUpdatedDateFormat for the first render

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,324
    Vote Rating
    1297
      0  

    Default

    Thanks for the report! I have opened a bug in our bug tracker.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •