mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-20 16:07:49 +00:00
Compare commits
1 Commits
d226a4f455
...
29c4484abc
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
29c4484abc |
@@ -8,7 +8,7 @@ from github import Github
|
|||||||
|
|
||||||
g = Github()
|
g = Github()
|
||||||
|
|
||||||
one_month_ago = datetime.datetime.now(datetime.timezone.utc) - datetime.timedelta(days=32)
|
one_month_ago = datetime.datetime.now() - datetime.timedelta(days=32)
|
||||||
|
|
||||||
def filter_date(issue):
|
def filter_date(issue):
|
||||||
return issue.closed_at > one_month_ago
|
return issue.closed_at > one_month_ago
|
||||||
|
|||||||
Reference in New Issue
Block a user