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
    1
    Martin Hujer is on a distinguished road

      0  

    Default PullRefresh don't use lastUpdatedDateFormat for the first render

    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 - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,647
    Vote Rating
    898
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


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

Thread Participants: 1