diff options
author | 2019-10-01 20:03:16 +0200 | |
---|---|---|
committer | 2019-10-01 20:03:16 +0200 | |
commit | 5d41b70019f211a7f9d84385100a05d800c95922 (patch) | |
tree | 46b2c33cd8316eab635121417973b9176a0e9734 | |
parent | Add #event-hacktoberfest-2019 to bot command whitelist (diff) |
Add +14h to start UTC offset and -11 to end UTC offset to date_range in query for Hacktoberfest user pull requests
-rw-r--r-- | bot/seasons/halloween/hacktoberstats.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/seasons/halloween/hacktoberstats.py b/bot/seasons/halloween/hacktoberstats.py index 20797037..7fbd9b62 100644 --- a/bot/seasons/halloween/hacktoberstats.py +++ b/bot/seasons/halloween/hacktoberstats.py @@ -220,7 +220,7 @@ class HacktoberStats(commands.Cog): not_label = "invalid" action_type = "pr" is_query = f"public+author:{github_username}" - date_range = f"{CURRENT_YEAR}-10-01..{CURRENT_YEAR}-10-31" + date_range = f"{CURRENT_YEAR}-10-01T00:00:00%2B14:00..{CURRENT_YEAR}-10-31T00:00:00-11:00" per_page = "300" query_url = ( f"{base_url}" |