First, please don’t tell me to read the data binding page. I have read it a million times and it does not help me at all with this issue 😉
My date comes across as a date object and NOT a string so that is not the problem.
In my datafields I have the date column set like this.
{ name: 'Heartbeat', type: 'date' },
In the columns I have this….
{ text: 'Heartbeat', dataField: 'Heartbeat', name: 'Heartbeat', cellclassname: cellconditioncheck, cellsformat: "MM/dd/yyyy hh:mm:ss tt" },
In IE11 the date comes out how I want it, however in Chrome the date comes across -7 hours, in this image IE is on the left and Chrome is on the right.
Is this a browser issue? Or a grid issue?
If i remove “type: date” from the datafields settings all browsers times look like this…
I am currently using this as my work around, but I really want it to show how as “MM/dd/yyyy hh:mm:ss tt” w/the correct time. How can I accomplish that?