Rename support fields to align with eol fields (#338)

Companion PR of https://github.com/endoflife-date/endoflife.date/pull/4931.
This commit is contained in:
Marc Wrobel
2024-04-02 21:41:18 +02:00
committed by GitHub
parent 8db90568f6
commit 812565e977
29 changed files with 217 additions and 209 deletions

View File

@@ -58,7 +58,7 @@ https://beautiful-soup-4.readthedocs.io/en/latest/index.html?highlight=selector#
METHOD = "release_table"
SUPPORTED_TYPES = ["date", "string", "range"]
DATE_TYPES = ["date"]
DATE_FIELDS = ["releaseDate", "lts", "support", "eol", "extendedSupport"]
DATE_FIELDS = ["releaseDate", "lts", "eoas", "eol", "eoes"]
DEFAULT_REGEX = r"^(?P<value>.+)$"
DEFAULT_TEMPLATE = "{{value}}"
DEFAULT_RELEASE_REGEX = r"^v?(?P<value>\d+(\.\d+)*)$"