Skip to content

Commit

Permalink
Update centitanha.py
Browse files Browse the repository at this point in the history
Expand the search scope to include users active in the last year instead of last month
  • Loading branch information
Huji authored Jan 6, 2024
1 parent 01ea28e commit 05a28c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion HujiBot/centitanha.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def _active_users(self):
AND ug_group = 'bot'
WHERE
rev_timestamp >= DATE_FORMAT(
DATE_SUB(NOW(), INTERVAL 30 DAY),
DATE_SUB(NOW(), INTERVAL 1 YEAR),
'%Y%m%d000000'
)
AND actor_user <> 0
Expand Down

0 comments on commit 05a28c7

Please sign in to comment.