diff options
| author | Pinapelz <yukais@pinapelz.com> | 2025-12-03 16:18:24 -0800 |
|---|---|---|
| committer | Pinapelz <yukais@pinapelz.com> | 2025-12-03 16:18:24 -0800 |
| commit | 2edead4d4da0c2f14b7923e8b18889b2358cd52d (patch) | |
| tree | 5264bb9e245f1c9b19deea807c66f88a17b7f898 | |
| parent | cd5836ded746ba67159ec9014b75c3dc07ddc48c (diff) | |
sort posts by time posted
| -rw-r--r-- | rasis.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -173,7 +173,7 @@ def main(): return data = response.json() - news_posts = data["news_posts"] + news_posts = sorted(data["news_posts"], key=lambda x: x.get('timestamp', 0)) posts_to_make = [] for post in news_posts: |
