Time Picker Hours and Day Input are Incorrectly Offset When Using Luxon
Time Picker Hours and Day Input are Incorrectly Offset When Using Luxon
dev@zincpartners.us
Posts: 2Questions: 0Answers: 0
I am trying to implement Luxon datetime handling in my datatable and the hours I select do not match what gets selected in the input. It looks like the same thing is happening in this Luxon example:
https://datatables.net/extensions/datetime/examples/initialisation/luxon.html
Is this a bug, or is there a way to handle for the offset on hours selection?
Replies
I managed to fix this in my datatable by changing the hours getter and setter from get/setUTCHours to get/setHours in the time picker widget click handler in datatables.dateTime.min.js
Its a bug - thanks for letting me know about this!
I've corrected it in this commit. The nightly build will have the change shortly.
Allan