aboutsummaryrefslogtreecommitdiff
path: root/app/Models/StatsDAO.php
diff options
context:
space:
mode:
authorGravatar Alexis Degrugillier <github@ainw.org> 2014-07-24 22:57:31 -0400
committerGravatar Alexis Degrugillier <github@ainw.org> 2014-07-24 22:57:31 -0400
commitaa317eb2948b5caa5472bf307099efe850f7b314 (patch)
tree7c0e1d413e8632c66e5d8f35cd7dc018d93bea6b /app/Models/StatsDAO.php
parentd049c1bc806dc0677a4b2b17faf06080600c372f (diff)
Add repartition statistic support in Sqlite
Diffstat (limited to 'app/Models/StatsDAO.php')
-rw-r--r--app/Models/StatsDAO.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Models/StatsDAO.php b/app/Models/StatsDAO.php
index ee8d0d663..89be76a26 100644
--- a/app/Models/StatsDAO.php
+++ b/app/Models/StatsDAO.php
@@ -95,7 +95,7 @@ SQL;
* @return string
*/
public function calculateEntryRepartitionPerFeedPerHour($feed = null) {
- return $this->calculateEntryRepartitionPerFeedPerPeriod('%k', $feed);
+ return $this->calculateEntryRepartitionPerFeedPerPeriod('%H', $feed);
}
/**