community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1698177 - /comdev/reporter.apache.org/trunk/site/render.js
Date Thu, 27 Aug 2015 14:50:48 GMT
Author: sebb
Date: Thu Aug 27 14:50:48 2015
New Revision: 1698177

URL: http://svn.apache.org/r1698177
Log:
Still not working ...

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

Modified: comdev/reporter.apache.org/trunk/site/render.js
URL: http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/site/render.js?rev=1698177&r1=1698176&r2=1698177&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/site/render.js (original)
+++ comdev/reporter.apache.org/trunk/site/render.js Thu Aug 27 14:50:48 2015
@@ -80,7 +80,7 @@ function getWednesdays(mo, y) {
 }
 // s.match(/^(Every|Next) month/) does not seem to match Next month?
 function everyMonth(s) {
-    return s == 'Every month' || s.match(/^Next month/)
+    return s == 'Every month' || s.indexOf("Next month") == 0
 }
 
 // Called by: GetAsyncJSON("reportingcycles.json?" + Math.random(), [pmc, reportdate, json.pdata[pmc].name],
setReportDate) 



Mime
View raw message