community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From humbed...@apache.org
Subject svn commit: r1871641 - in /comdev/reporter.apache.org/trunk/site/wizard/js: source/reportdate.js wizard-beta.js
Date Mon, 16 Dec 2019 10:10:56 GMT
Author: humbedooh
Date: Mon Dec 16 10:10:56 2019
New Revision: 1871641

URL: http://svn.apache.org/viewvc?rev=1871641&view=rev
Log:
typo

Modified:
    comdev/reporter.apache.org/trunk/site/wizard/js/source/reportdate.js
    comdev/reporter.apache.org/trunk/site/wizard/js/wizard-beta.js

Modified: comdev/reporter.apache.org/trunk/site/wizard/js/source/reportdate.js
URL: http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/site/wizard/js/source/reportdate.js?rev=1871641&r1=1871640&r2=1871641&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/site/wizard/js/source/reportdate.js (original)
+++ comdev/reporter.apache.org/trunk/site/wizard/js/source/reportdate.js Mon Dec 16 10:10:56
2019
@@ -94,7 +94,7 @@ function getReportDate(json, pmc, dateOn
 	if (dateOnly) {
 		// agenda date or due date?
 		if (dateOnly == "due") {
-			nextdate.setDate(d.getDate() - 2); // Due 48 hours prior to board meeting.
+			nextdate.setDate(nextdate.getDate() - 2); // Due 48 hours prior to board meeting.
 			return nextdate ? (nextdate.toDateString() + " ("  + moment(nextdate).fromNow() + ")"):
"Unknown(?)";
 		} else {
 			return nextdate ? (nextdate.toDateString() + " ("  + moment(nextdate).fromNow() + ")"):
"Unknown(?)";

Modified: comdev/reporter.apache.org/trunk/site/wizard/js/wizard-beta.js
URL: http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/site/wizard/js/wizard-beta.js?rev=1871641&r1=1871640&r2=1871641&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/site/wizard/js/wizard-beta.js (original)
+++ comdev/reporter.apache.org/trunk/site/wizard/js/wizard-beta.js Mon Dec 16 10:10:56 2019
@@ -1993,7 +1993,7 @@ function getReportDate(json, pmc, dateOn
 	if (dateOnly) {
 		// agenda date or due date?
 		if (dateOnly == "due") {
-			nextdate.setDate(d.getDate() - 2); // Due 48 hours prior to board meeting.
+			nextdate.setDate(nextdate.getDate() - 2); // Due 48 hours prior to board meeting.
 			return nextdate ? (nextdate.toDateString() + " ("  + moment(nextdate).fromNow() + ")"):
"Unknown(?)";
 		} else {
 			return nextdate ? (nextdate.toDateString() + " ("  + moment(nextdate).fromNow() + ")"):
"Unknown(?)";



Mime
View raw message