jQWidgets Forums

jQuery UI Widgets Forums DataTable Data Table – Date

This topic contains 1 reply, has 1 voice, and was last updated by  Francisco 9 years, 1 month ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • Data Table – Date #83436

    Francisco
    Participant

    Good afternoon,

    My problem is that the dates are displayed with 1 day less, for example: Right 04.06.2016, Wrong: 05/04/2016, in the database dates are correct, just to show not. I made various research, and discovered that the date should have an equal formatting this, eg TDate = new Date (MyDay + ‘EDT’), so it displays the correct date, I believe that takes into account the “timezone”.
    How can I specify this in datatable so that the date was correctly displayed in it?

    There, I’ve read the articles and Localization CellsFormatting, I think my problem is more specific, please help me!

    Data Table – Date #83445

    Francisco
    Participant

    Hello guys!

    Well, I found a technically simple solution to fix the date on your display in the DataTable, the database table I added the CURRENT_TIMESTAMP, and presto, end of story!

    I hope I never need to convert the timezone of the dates directly on the component! LOL

    Thank you

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

You must be logged in to reply to this topic.