[Fusionforge-commits] r16156 - branches/Branch_5_2/src/www/activity
Franck VILLAUME
nerville at fusionforge.org
Sat Aug 25 20:31:42 CEST 2012
Author: nerville
Date: 2012-08-25 20:31:41 +0200 (Sat, 25 Aug 2012)
New Revision: 16156
Modified:
branches/Branch_5_2/src/www/activity/index.php
Log:
fix end time: include the current day
Modified: branches/Branch_5_2/src/www/activity/index.php
===================================================================
--- branches/Branch_5_2/src/www/activity/index.php 2012-08-25 18:20:03 UTC (rev 16155)
+++ branches/Branch_5_2/src/www/activity/index.php 2012-08-25 18:31:41 UTC (rev 16156)
@@ -59,7 +59,7 @@
$end = time();
$rendered_end = strftime($date_format, $end);
} else {
- $end = mktime(0, 0, 0,$tmp['tm_mon']+1,$tmp['tm_mday'],$tmp['tm_year'] + 1900);
+ $end = mktime(23, 59, 59, $tmp['tm_mon']+1, $tmp['tm_mday'], $tmp['tm_year'] + 1900);
$rendered_end = $received_end;
}
}
More information about the Fusionforge-commits
mailing list