Quantcast
Channel: DataTables 1.10 — DataTables forums
Viewing all articles
Browse latest Browse all 2364

Date format

$
0
0

I have an issue with the date picker showing the wrong date. The date shows correctly (dd-mm-yyyy) in my data table list. I have the format set in the editor to "format": "DD\/MM\/YYYY" ... The date picker appears and highlights the correct day - no problems. But when clicking off it to save value, the date put into the field is 1 day later.

I used the generator on the site to then create the code for me and the opposite happens! I click on the table and the date picker appears but highlights the day before. If i select a date and save, it saves the correct date however.

I copied the datatables editor .js file from the generator code, to overwrite the editor js i downloaded and the issue changed to showing the day prior but saving the correct date!

Please help - no idea where to go from here!


Viewing all articles
Browse latest Browse all 2364

Trending Articles