Found the bug ref (the bug reference for your time-picker problem is Ticket SPL-35748 )
I have already submitted a bug for this last year I am trying to find the bug reference. It has been an issue for a while.
I found a solution but this will make the timepicker UK day/month for everyone not recommend for production.
I haven`t tested this on 4.2
Each time you upgrade you will need to find the files and then patch them.
jquery-ui-1.7.2.custom.min.js
TimeRangePicker.js
jquery-ui-1.7.2.custom.min.js
dateFormat:"mm/dd/yy" in the Datepicker function should be dateFormat:"dd/mm/yy” I didn’t see any locality checking
TimeRangePicker.js
From
var defaultDate = new Date(); // latest date defaults to today (at 00:00:00.000)
$('.latestDate', this._customDateTimePopup).val((parseInt(defaultDate.getMonth())+1) + '/' + defaultDate.getDate() + '/' + defaultDate.getFullYear());
defaultDate.setDate(defaultDate.getDate()-1); // earliest defaults to yesterday (at 00:00:00.000)
$('.earliestDate', this._customDateTimePopup).val((parseInt(defaultDate.getMonth())+1) + '/' + defaultDate.getDate() + '/' + defaultDate.getFullYear());
To
var defaultDate = new Date(); // latest date defaults to today (at 00:00:00.000)
$('.latestDate', this._customDateTimePopup).val(defaultDate.getDate() + '/' + (parseInt(defaultDate.getMonth())+1) + '/' + defaultDate.getFullYear());
defaultDate.setDate(defaultDate.getDate()-1); // earliest defaults to yesterday (at 00:00:00.000)
$('.earliestDate', this._customDateTimePopup).val(defaultDate.getDate() + '/' + (parseInt(defaultDate.getMonth())+1) + '/' + defaultDate.getFullYear());
... View more