Author: humbedooh
Date: Tue May 12 16:33:09 2020
New Revision: 1877665
URL: http://svn.apache.org/viewvc?rev=1877665&view=rev
Log:
fix wording
Modified:
comdev/reporter.apache.org/trunk/site/wizard/js/source/reportdate.js
comdev/reporter.apache.org/trunk/site/wizard/js/wizard.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=1877665&r1=1877664&r2=1877665&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 Tue
May 12 16:33:09 2020
@@ -101,7 +101,7 @@ function getReportDate(json, pmc, dateOn
if (moment(xdate).diff(rightnow, 'days') < 14) {
if (pdata && pdata.filed[pmc] == true) return
new HTML('span', {style: { color: '#396'}}, xdate.toDateString() + " (Report
filed)");
if (moment(xdate).diff(rightnow, 'days') > 0) {
- return new HTML('span', {style: {
color: '#711'}}, xdate.toDateString() + " (Report is due in
%s)".format(moment(xdate).fromNow()));
+ return new HTML('span', {style: {
color: '#711'}}, xdate.toDateString() + " (Report is due
%s)".format(moment(xdate).fromNow()));
}
return new HTML('span', {style: { color:
'#711'}}, xdate.toDateString() + " (Report is due)");
}
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=1877665&r1=1877664&r2=1877665&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/site/wizard/js/wizard.js (original)
+++ comdev/reporter.apache.org/trunk/site/wizard/js/wizard.js Tue May 12
16:33:09 2020
@@ -2001,7 +2001,7 @@ function getReportDate(json, pmc, dateOn
if (moment(xdate).diff(rightnow, 'days') < 14) {
if (pdata && pdata.filed[pmc] == true) return
new HTML('span', {style: { color: '#396'}}, xdate.toDateString() + " (Report
filed)");
if (moment(xdate).diff(rightnow, 'days') > 0) {
- return new HTML('span', {style: {
color: '#711'}}, xdate.toDateString() + " (Report is due in
%s)".format(moment(xdate).fromNow()));
+ return new HTML('span', {style: {
color: '#711'}}, xdate.toDateString() + " (Report is due
%s)".format(moment(xdate).fromNow()));
}
return new HTML('span', {style: { color:
'#711'}}, xdate.toDateString() + " (Report is due)");
}