community-commits mailing list archives

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

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

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=1821974&r1=1821973&r2=1821974&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 09:34:38 2018
@@ -841,7 +841,7 @@ function renderChecker(pmc) {
       summ += ( '<li>' + data['summary'][idx] + "</li>\n" ) ;
     }
     var date = new Date() ;
-    var time = date.getTime() ;
+    var time = Math.round ( date.getTime() / 1000 ) ;
     var ival = time - meta['refreshed']['time'] ;
     obj.innerHTML += "Site " + site + " checks the health of " + dist + " ;\n" ;
     obj.innerHTML += 'for ' + pmc + " it reports these errors :\n<ul>\n" + summ + "</ul>\n"
;



Mime
View raw message