Skip to content

Commit

Permalink
Fix #454
Browse files Browse the repository at this point in the history
Ysurac committed May 26, 2020
1 parent 26dc462 commit 75f1135
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion require/class.Spotter.php
Original file line number Diff line number Diff line change
@@ -9919,7 +9919,7 @@ public function countAllDatesLastMonth($filters = array())
$query = "SELECT DATE(CONVERT_TZ(spotter_output.date,'+00:00', :offset)) AS date_name, count(*) as date_count
FROM spotter_output".$filter_query." spotter_output.date >= DATE_SUB(UTC_TIMESTAMP(),INTERVAL 1 MONTH)";
$query .= " GROUP BY date_name
ORDER BY spotter_output.date ASC";
ORDER BY date_name ASC";
$query_data = array(':offset' => $offset);
} else {
$query = "SELECT to_char(spotter_output.date AT TIME ZONE INTERVAL :offset,'YYYY-mm-dd') AS date_name, count(*) as date_count

0 comments on commit 75f1135

Please sign in to comment.