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/12/16 10:10:56 UTC
svn commit: r1871641 - in /comdev/reporter.apache.org/trunk/site/wizard/js:
source/reportdate.js wizard-beta.js
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(?)";