community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1698161 - in /comdev/reporter.apache.org/trunk/site: render.js reportingcycles.json
Date Thu, 27 Aug 2015 14:17:40 GMT
Author: sebb
Date: Thu Aug 27 14:17:39 2015
New Revision: 1698161

URL: http://svn.apache.org/r1698161
Log:
Add support for Next month
Add Ignite and Whimsy Next month

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

Modified: comdev/reporter.apache.org/trunk/site/render.js
URL: http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/site/render.js?rev=1698161&r1=1698160&r2=1698161&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/site/render.js (original)
+++ comdev/reporter.apache.org/trunk/site/render.js Thu Aug 27 14:17:39 2015
@@ -85,7 +85,6 @@ function setReportDate(json, x) {
 	var reportdate = x[1]
 	var fullname = (x[2] ? x[2] : "Unknown").replace(/Apache /, "")
 	var m = ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September',
'October', 'November', 'December']
-	var em = 'Every month'
 	var today = new Date()
 
 	var dates = [] // the entries must be in date order
@@ -95,7 +94,7 @@ function setReportDate(json, x) {
 	for (i in json[pmc]) {
 		sm = json[pmc][i]
 		for (x in m) {
-			if (m[x] == sm || sm == em) {
+			if (m[x] == sm || sm.match(/^(Every|Next) month/)) {
 				dates.push(getWednesdays(x)[2])
 			}
 		}
@@ -105,7 +104,7 @@ function setReportDate(json, x) {
 	for (i in json[pmc]) {
 		sm = json[pmc][i]
 		for (x in m) {
-			if (m[x] == sm || sm == em) {
+			if (m[x] == sm || sm.match(/^(Every|Next) month/)) {
 				dates.push(getWednesdays(x)[2])
 			}
 		}

Modified: comdev/reporter.apache.org/trunk/site/reportingcycles.json
URL: http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/site/reportingcycles.json?rev=1698161&r1=1698160&r2=1698161&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/site/reportingcycles.json (original)
+++ comdev/reporter.apache.org/trunk/site/reportingcycles.json Thu Aug 27 14:17:39 2015
@@ -395,6 +395,13 @@
   "August", 
   "November"
  ], 
+ "ignite": [
+  "February", 
+  "May", 
+  "August", 
+  "November",
+  "Next month: new, monthly through November"
+ ], 
  "incubator": [
   "Every month"
  ], 
@@ -936,7 +943,8 @@
   "February", 
   "May", 
   "August", 
-  "November"
+  "November", 
+  "Next month: missing in August" 
  ], 
  "wicket": [
   "March", 



Mime
View raw message