[FIXED]DateField parsing/formatting problem
I have the following DateField in a form
PHP Code:
xtype: 'datefield',
fieldLabel: 'Datum',
name: 'date',
boxMaxWidth: 120,
format: 'd.m.Y',
altFormats: 'c'
The date comes from the server like this: date: "2009-12-13T23:00:00Z"
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
},