Threaded View
-
1 Nov 2011 10:41 AM #1
Problem in the dateFormat c mixing time and greenwich offset...
Problem in the dateFormat c mixing time and greenwich offset...
Hey everyone, I hope I am not overlapping with another bug, I researched and didn't see anyone asking about that so here is my story:
I get a date in my JSON response that is in this format:
I read it using the ISO dateFormat in my data model's field config:Code:2011-09-23T04:00:00-07:00
when I render it in my grid using a renderer such as:Code:{name: 'start_date', type: 'date', dateFormat:'c'}
I obtain:Code:Ext.util.Format.dateRenderer('m/d/Y, g:ia \\G\\M\\TP')
So it appears that there is a mixup between the time and the GMT offset... did any of you noticed that?Code:09/23/2011, 7:00am GMT-04:00
Let me know, thanks and sorry again if that's a duplicate... I'm going to continue searching if that was addressed somewhere else...
Thank you for reporting this bug. We will make it our priority to review this report.


Reply With Quote