Results 1 to 2 of 2

Thread: Date Format + Date Column on Grid

  1. #1

    Question Date Format + Date Column on Grid

    Hi!

    I don't know if this is a bug.

    I have one grid with one date column ( xtype: 'datecolumn' ).

    My value is "2010-07-30".

    If i use: renderer: Ext.util.Format.dateRenderer("d/m/Y") the month and the day are inverted.
    If i use: format: 'd/m/Y' then displays correct.

    If i change the type to gridcolumn and use Ext.util.Format then displays correct too.

  2. #2
    Sencha Premium User mankz's Avatar
    Join Date
    Nov 2007
    Location
    Stockholm, Sweden
    Posts
    3,153

    Default

    How about if you use:

    Code:
    Ext.util.Format.dateRenderer("Y-m-d")

Similar Threads

  1. Date format from standard date picker
    By Jangla in forum Ext 3.x: Help & Discussion
    Replies: 0
    Last Post: 25 Feb 2010, 4:20 AM
  2. Replies: 2
    Last Post: 23 Mar 2009, 12:44 AM
  3. How to change date format after a date field has been created?
    By lensesby in forum Ext 2.x: Help & Discussion
    Replies: 2
    Last Post: 3 Mar 2009, 7:11 AM
  4. date format on grid. Format is not displayed as expected.
    By mcrusty in forum Ext 1.x: Help & Discussion
    Replies: 3
    Last Post: 26 Jan 2007, 4:05 PM

Posting Permissions

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