community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hbout...@apache.org
Subject svn commit: r1770172 - /comdev/reporter.apache.org/trunk/site/js/render.js
Date Thu, 17 Nov 2016 12:03:36 GMT
Author: hboutemy
Date: Thu Nov 17 12:03:36 2016
New Revision: 1770172

URL: http://svn.apache.org/viewvc?rev=1770172&view=rev
Log:
improved rendering: bold only on version

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

Modified: comdev/reporter.apache.org/trunk/site/js/render.js
URL: http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/site/js/render.js?rev=1770172&r1=1770171&r2=1770172&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/site/js/render.js (original)
+++ comdev/reporter.apache.org/trunk/site/js/render.js Thu Nov 17 12:03:36 2016
@@ -505,7 +505,7 @@ function renderFrontPage(json) {
 				if (new Date(date * 1000) > new Date()) {
 					err = " (<font color='red'>This seems wrong?!</font>)"
 				}
-				releases.innerHTML += "&rarr; " + "<b>" + version + " was released on </b>"
+ new Date(date * 1000).toDateString() + err + "<br>"
+				releases.innerHTML += "&rarr; " + "<b>" + version + "</b> was released
on " + new Date(date * 1000).toDateString() + err + "<br>"
 				addLine(pmc, " - " + version + " was released on " + new Date(date * 1000).toDateString()
+ err)
 				nr++;
 			}



Mime
View raw message