Commit a8c87bc5 authored by Sebastien Robin's avatar Sebastien Robin

GUI: take into account simulation start time for gantt and spreadsheet

parent fbde8cdc
......@@ -348,7 +348,7 @@
"Step No."
]
],
start_date = new Date(now.getTime()),
start_date,
gantt_data = {
data: [
{
......@@ -371,6 +371,13 @@
link: []
};
start_date = that.getData().general.currentDate;
if (start_date !== undefined && start_date !== "") {
start_date = new Date(start_date);
} else {
start_date = new Date(now.getTime())
}
$.each(result.elementList.sort(function(a,b) {return a.id < b.id ? -1 : 1}),
function (idx, obj) {
if (obj.results !== undefined && obj.results.working_ratio !== undefined) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment