Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Ext JS Premium Member htammen's Avatar
    Join Date
    Jul 2010
    Location
    Germany, Hannover
    Posts
    74
    Vote Rating
    0
    htammen is on a distinguished road

      0  

    Default [FIXED] TimeField parsing / formatting problem

    [FIXED] TimeField parsing / formatting problem


    maybe this is already fixed with this issue but it seems to be slightly different:
    http://www.sencha.com/forum/showthre...atting-problem

    I have a TimeField at a form
    PHP Code:
        {
            
    xtype'timefield',
            
    fieldLabel'Beginn',
            
    name'startTime',
            
    boxMaxWidth100,
            
    format'H:i',
            
    altFormats'c'
        
    }, 
    The startTime value comes from the server as startTime: "2009-07-12T05:45:00Z".
    I would expect to see "05:45" in the TimeField. But I see "00:07"

    When I use "Y-m-d\\TH:i\\Z" everything is fine despite of the fact that the timezone is not used while parsing.

  2. #2
    Ext JS Premium Member htammen's Avatar
    Join Date
    Jul 2010
    Location
    Germany, Hannover
    Posts
    74
    Vote Rating
    0
    htammen is on a distinguished road

      0  

    Default


    This is not fixed with PR2.
    The timefield parsing should also be the same as the datefield parsing as mentioned above. See this thread for details

  3. #3
    Sencha User Jamie Avins's Avatar
    Join Date
    Mar 2007
    Location
    Redwood City, California
    Posts
    3,661
    Vote Rating
    18
    Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough

      0  

    Default


    We'll address this for the next release.

  4. #4
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    17,006
    Vote Rating
    650
    evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute

      0  

    Default


    This should be resolved.
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

Similar Threads

  1. [FIXED]DateField parsing/formatting problem
    By htammen in forum Ext:Bugs
    Replies: 5
    Last Post: 24 Feb 2011, 4:56 AM
  2. Replies: 11
    Last Post: 18 Oct 2009, 8:49 AM
  3. [FIXED] [1.1.2] XMLBaseLoader tries parsing 404, stack overflow.
    By LINEMAN78 in forum Ext GWT: Bugs (1.x)
    Replies: 1
    Last Post: 17 Nov 2008, 7:17 PM
  4. Replies: 2
    Last Post: 10 Nov 2008, 3:59 AM
  5. [2.1][DUP][FIXED] Date parsing in 2.1
    By mschering in forum Ext 2.x: Bugs
    Replies: 2
    Last Post: 24 Apr 2008, 5:42 AM

Thread Participants: 2