community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From humbed...@apache.org
Subject svn commit: r1864684 - in /comdev/reporter.apache.org/trunk/site/wizard/js: source/generators.js source/statistics_generator.js wizard.js
Date Thu, 08 Aug 2019 06:52:38 GMT
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++;
             }
         }



Mime
View raw message