Skip to content
Snippets Groups Projects
Commit 9788c0a7 authored by Jorrit Schaap's avatar Jorrit Schaap
Browse files

TMSS-671: fixed scheduled_on_sky_start_time -> scheduled_start_time

parent 31a73b43
No related branches found
No related tags found
1 merge request!715TMSS-671 & TMSS-1135 & TMSS-1332
...@@ -797,7 +797,7 @@ void MACScheduler::_updatePlannedList() ...@@ -797,7 +797,7 @@ void MACScheduler::_updatePlannedList()
if (!upcomingSubTasks.empty()) { if (!upcomingSubTasks.empty()) {
LOG_DEBUG(formatString("TMSSCheck:First planned observation (%s) is at %s", LOG_DEBUG(formatString("TMSSCheck:First planned observation (%s) is at %s",
upcomingSubTasks[0]["url"].asCString(), upcomingSubTasks[0]["scheduled_on_sky_start_time"].asCString())); upcomingSubTasks[0]["url"].asCString(), upcomingSubTasks[0]["scheduled_start_time"].asCString()));
} }
// make a copy of the current prepared observations (= observations shown in the navigator in the 'future' // make a copy of the current prepared observations (= observations shown in the navigator in the 'future'
...@@ -913,7 +913,7 @@ void MACScheduler::_updatePlannedList() ...@@ -913,7 +913,7 @@ void MACScheduler::_updatePlannedList()
// construct name and timings info for observation // construct name and timings info for observation
string obsName(observationName(subtask_id)); string obsName(observationName(subtask_id));
ptime start_time = time_from_string(subtask["scheduled_on_sky_start_time"].asString().replace(10, 1, " ")); ptime start_time = time_from_string(subtask["scheduled_start_time"].asString().replace(10, 1, " "));
ptime modTime = time_from_string(subtask["updated_at"].asString().replace(10, 1, " ")); ptime modTime = time_from_string(subtask["updated_at"].asString().replace(10, 1, " "));
// remove obs from backup of the planned-list (it is in the list again) // remove obs from backup of the planned-list (it is in the list again)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment