Skip to content

Commit

Permalink
CC-5727 : History search range using incorrect timezone offset
Browse files Browse the repository at this point in the history
fixing show fetching times.
  • Loading branch information
naomiaro committed Mar 10, 2014
1 parent c668d91 commit cd55ed5
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions airtime_mvc/public/js/airtime/playouthistory/historytable.js
Original file line number Diff line number Diff line change
Expand Up @@ -703,17 +703,16 @@ var AIRTIME = (function(AIRTIME) {
});

$('body').on("click", "#his_instance_retrieve", function(e) {
var startPicker = $hisDialogEl.find('#his_item_starts_datetimepicker').data('datetimepicker'),
endPicker = $hisDialogEl.find('#his_item_ends_datetimepicker').data('datetimepicker'),
var startPicker = $hisDialogEl.find('#his_item_starts'),
endPicker = $hisDialogEl.find('#his_item_ends'),
url = baseUrl+"playouthistory/show-history-feed",
startDate = startPicker.getLocalDate(),
endDate = endPicker.getLocalDate(),
getEpochSeconds = AIRTIME.utilities.fnGetSecondsEpoch,
startDate = startPicker.val(),
endDate = endPicker.val(),
data;

data = {
start: getEpochSeconds(startDate),
end: getEpochSeconds(endDate),
start: startDate,
end: endDate,
format: "json"
};

Expand Down

0 comments on commit cd55ed5

Please sign in to comment.