[Fusionforge-commits] FusionForge branch 6.0 updated. v6.0.1-39-gd3f5445

Sylvain Beucler beuc-inria at libremir.placard.fr.eu.org
Thu Jul 2 12:26:03 CEST 2015


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".

The branch, 6.0 has been updated
       via  d3f54459d23d922d1859caab60298bf74593c0bf (commit)
      from  929325af79936bdfa1e35729954a28b3b497f739 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://scm.fusionforge.org/anonscm/gitweb/?p=fusionforge/fusionforge.git;a=commitdiff;h=d3f54459d23d922d1859caab60298bf74593c0bf

commit d3f54459d23d922d1859caab60298bf74593c0bf
Author: Sylvain Beucler <sylvain.beucler at inria.fr>
Date:   Thu Jul 2 12:17:57 2015 +0200

    stats: fix weekly commits display

diff --git a/src/CHANGES b/src/CHANGES
index d6ae2d2..967e3c3 100644
--- a/src/CHANGES
+++ b/src/CHANGES
@@ -1,7 +1,7 @@
 FusionForge 6.0.2:
 * Accounts: fix elliptic curve ssh keys support (Inria)
 * Project stats: fix misleading label on statistics default empty graph (Inria)
-* Project stats: fix weekly aggregation (Inria)
+* Project stats: fix weekly aggregation and display (Inria)
 * Mailing lists: fix description encoding depending on Mailman version (Inria & Thorsten Glaser)
 * Mailing lists: fix default list URL path (Inria)
 * Mailing lists: fix installation on CentOS (Inria)
diff --git a/src/common/reporting/report_utils.php b/src/common/reporting/report_utils.php
index 6f4efa6..32d3f3c 100644
--- a/src/common/reporting/report_utils.php
+++ b/src/common/reporting/report_utils.php
@@ -731,6 +731,7 @@ function report_actgraph($type, $SPAN, $start, $end, $id, $area) {
 					}
 					case REPORT_TYPE_WEEKLY: {
 						$d = strtotime(substr($dd, 0, 4).'-W'.substr($dd, 5, 2));
+						$d -= 86400;  # weeks are based on Sunday in getWeekStartArr()
 						break;
 					}
 					case REPORT_TYPE_DAILY: {

-----------------------------------------------------------------------

Summary of changes:
 src/CHANGES                           | 2 +-
 src/common/reporting/report_utils.php | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list