CC-5727 : History search range using incorrect timezone offset
fixing show fetching times.
This commit is contained in:
parent
c668d91e08
commit
cd55ed5ee4
|
@ -703,17 +703,16 @@ var AIRTIME = (function(AIRTIME) {
|
||||||
});
|
});
|
||||||
|
|
||||||
$('body').on("click", "#his_instance_retrieve", function(e) {
|
$('body').on("click", "#his_instance_retrieve", function(e) {
|
||||||
var startPicker = $hisDialogEl.find('#his_item_starts_datetimepicker').data('datetimepicker'),
|
var startPicker = $hisDialogEl.find('#his_item_starts'),
|
||||||
endPicker = $hisDialogEl.find('#his_item_ends_datetimepicker').data('datetimepicker'),
|
endPicker = $hisDialogEl.find('#his_item_ends'),
|
||||||
url = baseUrl+"playouthistory/show-history-feed",
|
url = baseUrl+"playouthistory/show-history-feed",
|
||||||
startDate = startPicker.getLocalDate(),
|
startDate = startPicker.val(),
|
||||||
endDate = endPicker.getLocalDate(),
|
endDate = endPicker.val(),
|
||||||
getEpochSeconds = AIRTIME.utilities.fnGetSecondsEpoch,
|
|
||||||
data;
|
data;
|
||||||
|
|
||||||
data = {
|
data = {
|
||||||
start: getEpochSeconds(startDate),
|
start: startDate,
|
||||||
end: getEpochSeconds(endDate),
|
end: endDate,
|
||||||
format: "json"
|
format: "json"
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue