jQuery UI Widgets Forums Grid Date formatting issue (again)

This topic contains 1 reply, has 2 voices, and was last updated by  Dimitar 9 years, 9 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • Date formatting issue (again) #66102

    lucasgraf
    Participant

    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.

    Date

    Is this a browser issue? Or a grid issue?

    If i remove “type: date” from the datafields settings all browsers times look like this…

    Times

    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?

    Date formatting issue (again) #66116

    Dimitar
    Participant

    Hello lucasgraf,

    The following forum topics may help you understand why this behaviour occurs:

    Best Regards,
    Dimitar

    jQWidgets team
    http://www.jqwidgets.com/

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.