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 [DUP][FIXED]Ext.util.Date.format error

    [DUP][FIXED]Ext.util.Date.format error


    Ext.util.Date.format throws an error when using pattern 'd.m.Y H:i O' or 'd.m.Y H:i P'.
    The pattern 'd.m.Y H:i Z' works fine.

    Does not work:
    PHP Code:
    var Ext.util.Date.parseDate('2009-11-08T23:00:00Z''c'true);
    var 
    str Ext.util.Date.format(d,'d.m.Y H:i:s O');
    console.log(str);
    ReferenceErrordate is not defined 
    Works fine:
    PHP Code:
    var Ext.util.Date.parseDate('2009-11-08T23:00:00Z''c'true);
    var 
    str Ext.util.Date.format(d,'d.m.Y H:i:s Z');
    console.log(str);
    09.11.2009 00:00:00 3600 

  2. #2
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    17,050
    Vote Rating
    657
    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


    These have already been resolved: http://www.sencha.com/forum/showthre...XED-Date-issue
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

Similar Threads

  1. [CLOSED]IE Ext.util.Format.date BUG
    By ernst96 in forum Ext 3.x: Bugs
    Replies: 4
    Last Post: 7 Feb 2011, 1:22 PM
  2. [FIXED-654] Bug in Ext.util.Format.number
    By ExtMore in forum Ext 3.x: Bugs
    Replies: 7
    Last Post: 11 Mar 2010, 6:50 PM
  3. Ext.util.Format.date Problem or Bug
    By Kangulo in forum Ext 3.x: Help & Discussion
    Replies: 5
    Last Post: 9 Mar 2010, 5:02 AM
  4. (Ext 2.2.x) Ext.util.Format.date bug
    By peacock in forum Ext 2.x: Help & Discussion
    Replies: 3
    Last Post: 16 Apr 2009, 7:12 PM
  5. syntax error with Ext.util.Format
    By userofit in forum Ext 2.x: Help & Discussion
    Replies: 4
    Last Post: 12 Aug 2008, 5:53 AM

Thread Participants: 1