Threaded View
-
24 Feb 2011 2:45 AM #1
[FIXED]DateField parsing/formatting problem
[FIXED]DateField parsing/formatting problem
I have the following DateField in a form
The date comes from the server like this: date: "2009-12-13T23:00:00Z"PHP Code:xtype: 'datefield',
fieldLabel: 'Datum',
name: 'date',
boxMaxWidth: 120,
format: 'd.m.Y',
altFormats: 'c'
Because I´m located in Germany (GMT+0100) I would expect to see the date "14.12.2009" but the datefield displays "13.12.2009".
I assume that the datefield does not correctly parse/format the date according to my timezone.
Beside the form which shows one record I list all records from backend in a gridpanel. Here the date is displayed like expected.
PHP Code:{
xtype: 'dateheader',
text: 'Datum',
dataIndex: 'date',
format: 'd.m.Y H:i:s Z',
flex: 1
},
Thank you for reporting this bug. We will make it our priority to review this report.
Similar Threads
-
[CLOSED][3.0.0] Date parsing and formatting not turned off.
By JSCoder in forum Ext 3.x: BugsReplies: 11Last Post: 18 Oct 2009, 8:49 AM -
Ext.form.DateField - formatting ignored?
By fruitwerks in forum Ext 3.x: Help & DiscussionReplies: 11Last Post: 15 Aug 2009, 11:22 AM -
<SOLVED> Parsing Arraydata into DateField
By wvmaaren in forum Ext 3.x: Help & DiscussionReplies: 1Last Post: 10 Jul 2009, 3:25 AM -
Datefield Auto Formatting
By twilsonxpert in forum Ext 2.x: Help & DiscussionReplies: 11Last Post: 12 May 2008, 7:52 AM -
[SOLVED] dateField formatting problem
By catacaustic in forum Ext 1.x: Help & DiscussionReplies: 3Last Post: 9 Aug 2007, 3:28 PM


Reply With Quote