From 0005836a957b337627f736cecf5bbaeccd2d023d Mon Sep 17 00:00:00 2001 From: Ethan Paul <24588726+enpaul@users.noreply.github.com> Date: Sun, 25 Apr 2021 00:26:49 -0400 Subject: [PATCH] !fixup date --- build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.py b/build.py index 30cb59d..5d9edef 100644 --- a/build.py +++ b/build.py @@ -124,7 +124,7 @@ class ConfigSerializer(msh.Schema): @msh.post_load def _remove_future(self, data: Dict[str, Any], *args, **kwargs) -> PostContainer: - posts = [item for item in data["posts"] if item.date >= datetime.date.today()] + posts = [item for item in data["posts"] if item.date <= datetime.date.today()] data["posts"] = posts return data