Skip to content

Commit a0f0ed2

Browse files
authored
Merge pull request #153 from SmoFlaDru/dev-benno
Fix query, remove testing artefact
2 parents 32ec359 + bf64528 commit a0f0ed2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spybot/recorder/cron/cron.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ def record_hourly_activity():
117117
cursor.execute("""
118118
INSERT INTO HourlyActivity(datetime, activity_hours)
119119
WITH startOfHour AS (
120-
SELECT DATE_TRUNC('hour', NOW()) - INTERVAL '6' HOUR AS stamp
120+
SELECT DATE_TRUNC('hour', NOW()) AS stamp
121121
),
122122
activityHours AS (
123123
SELECT

0 commit comments

Comments
 (0)