community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From he...@apache.org
Subject svn commit: r1821989 - /comdev/reporter.apache.org/trunk/site/js/render-hppdev.js
Date Tue, 23 Jan 2018 10:34:49 GMT
Author: henkp
Date: Tue Jan 23 10:34:49 2018
New Revision: 1821989

URL: http://svn.apache.org/viewvc?rev=1821989&view=rev
Log:
show checker errors, if any (26)

Modified:
    comdev/reporter.apache.org/trunk/site/js/render-hppdev.js

Modified: comdev/reporter.apache.org/trunk/site/js/render-hppdev.js
URL: http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/site/js/render-hppdev.js?rev=1821989&r1=1821988&r2=1821989&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/site/js/render-hppdev.js (original)
+++ comdev/reporter.apache.org/trunk/site/js/render-hppdev.js Tue Jan 23 10:34:49 2018
@@ -828,9 +828,9 @@ function renderBZ(pmc) {
 function my_url (href,text) { return '<a href="' + href + '">' + text + '</a>'
; }
 function ival2str (ival) {
   var n = ival ;
-  var m = Math.round ( 0.5 + n / 60 ) ;
-  var h = Math.round ( 0.5 + n / 60 / 60 ) ;
-  var d = Math.round ( 0.5 + n / 60 / 60 / 24 ) ;
+  var m = Math.round ( n / 60 ) ;
+  var h = Math.round ( n / 60 / 60 ) ;
+  var d = Math.round ( n / 60 / 60 / 24 ) ;
   var u ;
   if ( n < 60 )
     { u = 'second' ; }



Mime
View raw message