You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@community.apache.org by hu...@apache.org on 2019/08/02 14:16:53 UTC
svn commit: r1864232 - in /comdev/reporter.apache.org/trunk/site/wizard/js:
source/generators.js wizard.js
Author: humbedooh
Date: Fri Aug 2 14:16:53 2019
New Revision: 1864232
URL: http://svn.apache.org/viewvc?rev=1864232&view=rev
Log:
we need index 1, not 2 for the founding date
Modified:
comdev/reporter.apache.org/trunk/site/wizard/js/source/generators.js
comdev/reporter.apache.org/trunk/site/wizard/js/wizard.js
Modified: comdev/reporter.apache.org/trunk/site/wizard/js/source/generators.js
URL: http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/site/wizard/js/source/generators.js?rev=1864232&r1=1864231&r2=1864232&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/site/wizard/js/source/generators.js (original)
+++ comdev/reporter.apache.org/trunk/site/wizard/js/source/generators.js Fri Aug 2 14:16:53 2019
@@ -16,7 +16,7 @@ let gcd = (x,y) => {
function generate_pmc_roster(pdata) {
// PMC age
- let founded = moment(pdata.pmcdates[project].pmc[2] * 1000.0);
+ let founded = moment(pdata.pmcdates[project].pmc[1] * 1000.0);
let age = founded.fromNow();
let txt = "%s was founded %s (%s)\n".format(pdata.pmcsummary[project].name, founded.format('YYYY-MM-DD'), age);
Modified: comdev/reporter.apache.org/trunk/site/wizard/js/wizard.js
URL: http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/site/wizard/js/wizard.js?rev=1864232&r1=1864231&r2=1864232&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/site/wizard/js/wizard.js (original)
+++ comdev/reporter.apache.org/trunk/site/wizard/js/wizard.js Fri Aug 2 14:16:53 2019
@@ -1151,7 +1151,7 @@ let gcd = (x,y) => {
function generate_pmc_roster(pdata) {
// PMC age
- let founded = moment(pdata.pmcdates[project].pmc[2] * 1000.0);
+ let founded = moment(pdata.pmcdates[project].pmc[1] * 1000.0);
let age = founded.fromNow();
let txt = "%s was founded %s (%s)\n".format(pdata.pmcsummary[project].name, founded.format('YYYY-MM-DD'), age);