Преглед изворни кода

[oozie] Need to multiply duration by 1000 in order to display properly

abec пре 13 година
родитељ
комит
ee5e0a5
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      apps/oozie/src/oozie/templates/utils.inc.mako

+ 1 - 1
apps/oozie/src/oozie/templates/utils.inc.mako

@@ -45,7 +45,7 @@
 
 <%def name="job_duration(job)">
   <%
-    return time.mktime(job.endTime) - time.mktime(job.startTime)
+    return ( time.mktime(job.endTime) - time.mktime(job.startTime) ) * 1000
   %>
 </%def>