From 4d1fae1b3f426066c8dc9286c6d946679600f44a Mon Sep 17 00:00:00 2001 From: Anas Husseini Date: Thu, 14 Nov 2024 10:30:20 +0200 Subject: [PATCH] fix a typo in comparison --- src/docs/generate_oci_doc_yaml.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/docs/generate_oci_doc_yaml.py b/src/docs/generate_oci_doc_yaml.py index 90e00842..7ed2f412 100755 --- a/src/docs/generate_oci_doc_yaml.py +++ b/src/docs/generate_oci_doc_yaml.py @@ -268,7 +268,7 @@ def build_releases_data( eol = parser.parse(all_tracks[track_base]) release_data["support"] = {"until": eol.strftime("%m/%Y")} - if eol > datetime.now(timezone.utc): + if eol < datetime.now(timezone.utc): release_data["deprecated"] = { "date": eol.strftime("%m/%Y") }