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/08 06:52:38 UTC
svn commit: r1864684 - in /comdev/reporter.apache.org/trunk/site/wizard/js:
source/generators.js source/statistics_generator.js wizard.js
Author: humbedooh
Date: Thu Aug 8 06:52:38 2019
New Revision: 1864684
URL: http://svn.apache.org/viewvc?rev=1864684&view=rev
Log:
force UTC
Modified:
comdev/reporter.apache.org/trunk/site/wizard/js/source/generators.js
comdev/reporter.apache.org/trunk/site/wizard/js/source/statistics_generator.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=1864684&r1=1864683&r2=1864684&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 Thu Aug 8 06:52:38 2019
@@ -484,7 +484,7 @@ function activity_tips(data) {
if (releases_shown == to_show) break;
let reldate = moment(data.releases[project][rel] * 1000.0);
if (ts == reldate.unix()) {
- rtxt += "<li>%s was released on %s.</li>".format(rel, reldate.format('YYYY-MM-DD'));
+ rtxt += "<li>%s was released on %s.</li>".format(rel, reldate.utc().format('YYYY-MM-DD'));
releases_shown++;
}
}
Modified: comdev/reporter.apache.org/trunk/site/wizard/js/source/statistics_generator.js
URL: http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/site/wizard/js/source/statistics_generator.js?rev=1864684&r1=1864683&r2=1864684&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/site/wizard/js/source/statistics_generator.js (original)
+++ comdev/reporter.apache.org/trunk/site/wizard/js/source/statistics_generator.js Thu Aug 8 06:52:38 2019
@@ -948,7 +948,7 @@ function statistics_releases(data) {
if (releases_shown == to_show) break;
let reldate = moment(data.releases[project][rel] * 1000.0);
if (ts == reldate.unix()) {
- rtxt += "<li>%s was released on %s.</li>".format(rel, reldate.format('YYYY-MM-DD'));
+ rtxt += "<li>%s was released on %s.</li>".format(rel, reldate.utc().format('YYYY-MM-DD'));
releases_shown++;
}
}
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=1864684&r1=1864683&r2=1864684&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/site/wizard/js/wizard.js (original)
+++ comdev/reporter.apache.org/trunk/site/wizard/js/wizard.js Thu Aug 8 06:52:38 2019
@@ -1672,7 +1672,7 @@ function activity_tips(data) {
if (releases_shown == to_show) break;
let reldate = moment(data.releases[project][rel] * 1000.0);
if (ts == reldate.unix()) {
- rtxt += "<li>%s was released on %s.</li>".format(rel, reldate.format('YYYY-MM-DD'));
+ rtxt += "<li>%s was released on %s.</li>".format(rel, reldate.utc().format('YYYY-MM-DD'));
releases_shown++;
}
}
@@ -3050,7 +3050,7 @@ function statistics_releases(data) {
if (releases_shown == to_show) break;
let reldate = moment(data.releases[project][rel] * 1000.0);
if (ts == reldate.unix()) {
- rtxt += "<li>%s was released on %s.</li>".format(rel, reldate.format('YYYY-MM-DD'));
+ rtxt += "<li>%s was released on %s.</li>".format(rel, reldate.utc().format('YYYY-MM-DD'));
releases_shown++;
}
}