community-commits mailing list archives

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

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

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=1821973&r1=1821972&r2=1821973&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:32:47 2018
@@ -840,7 +840,9 @@ function renderChecker(pmc) {
     for ( idx in data['summary'] ) {
       summ += ( '<li>' + data['summary'][idx] + "</li>\n" ) ;
     }
-    var ival = Date.now().getUnixTime() - meta['refreshed']['time'] ;
+    var date = new Date() ;
+    var time = date.getTime() ;
+    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"
;
     obj.innerHTML += 'For details see ' + my_url(href,href) + "<br>\n" ;



Mime
View raw message