community-commits mailing list archives

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

URL: http://svn.apache.org/viewvc?rev=1871643&view=rev
Log:
caso

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=1871643&r1=1871642&r2=1871643&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:19:36
2019
@@ -96,7 +96,7 @@ function getReportDate(json, pmc, dateOn
 		if (dateOnly == "due") {
 			nextdate.setDate(nextdate.getDate() - 2); // Due 48 hours prior to board meeting.
 			let rightnow = new Date();
-			if (nextdate && math.abs(rightnow - nextdate) < (86400*2*1000)) {
+			if (nextdate && Math.abs(rightnow - nextdate) < (86400*2*1000)) {
 				return new HTML('span', {style: { color: '#711'}}, nextdate.toDateString() + " ("  +
moment(nextdate).fromNow() + ")");
 			}
 			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=1871643&r1=1871642&r2=1871643&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:19:36 2019
@@ -1995,7 +1995,7 @@ function getReportDate(json, pmc, dateOn
 		if (dateOnly == "due") {
 			nextdate.setDate(nextdate.getDate() - 2); // Due 48 hours prior to board meeting.
 			let rightnow = new Date();
-			if (nextdate && math.abs(rightnow - nextdate) < (86400*2*1000)) {
+			if (nextdate && Math.abs(rightnow - nextdate) < (86400*2*1000)) {
 				return new HTML('span', {style: { color: '#711'}}, nextdate.toDateString() + " ("  +
moment(nextdate).fromNow() + ")");
 			}
 			return nextdate ? (nextdate.toDateString() + " ("  + moment(nextdate).fromNow() + ")"):
"Unknown(?)";



Mime
View raw message