Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
dream
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
dream
Commits
faf87373
Commit
faf87373
authored
Jul 09, 2014
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
reapply more time unit partial work
parent
5009a14a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
dream/platform/src2/dream/Output_viewJobGantt.js
dream/platform/src2/dream/Output_viewJobGantt.js
+3
-1
dream/platform/src2/dream/Output_viewJobScheduleSpreadsheet.js
.../platform/src2/dream/Output_viewJobScheduleSpreadsheet.js
+1
-1
No files found.
dream/platform/src2/dream/Output_viewJobGantt.js
View file @
faf87373
...
...
@@ -10,6 +10,8 @@
};
function
job_gantt_widget
(
all_data
)
{
// XXX: use dhx_gantt zoom level feature (
// http://dhtmlx.com/docs/products/dhtmlxGantt/02_features.html )
var
now
=
new
Date
(),
start_date
,
...
...
@@ -140,7 +142,7 @@
// schedule['entranceTime']);
// for simulation time unit as days hours
task_start_date
.
setTime
(
task_start_date
.
getTime
()
+
schedule
.
entranceTime
*
1000
*
3600
);
schedule
.
entranceTime
*
1000
*
3600
*
24
);
job_full_id
=
input_job
.
id
+
"
.
"
+
input_order
.
id
;
if
(
seen_parts
[
job_full_id
]
===
undefined
)
{
...
...
dream/platform/src2/dream/Output_viewJobScheduleSpreadsheet.js
View file @
faf87373
...
...
@@ -90,7 +90,7 @@
schedule
.
entranceTime
*
1000
*
3600
);
duration
=
0
;
if
(
schedule
.
exitTime
)
{
duration
=
(
schedule
.
exitTime
-
schedule
.
entranceTime
);
duration
=
(
schedule
.
exitTime
-
schedule
.
entranceTime
*
24
);
}
else
{
// When duration is not returned by ManPy, it is calculated by
// difference of entranceTime of this step and entranceTime of the
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment