Handle dates with 'Sept' instead of 'Sep' globally (#516)
There are often failures due to the use of 'Sept' instead of 'Sep' in dates (for example https://github.com/endoflife-date/release-data/actions/runs/17707933881). Manage this globally so that it's not needed do it in each script / config.
This commit is contained in:
@@ -16,5 +16,5 @@ with ProductData(config.product) as product_data:
|
||||
if len(cells) >= 2:
|
||||
version = cells[0].text.strip()
|
||||
if version:
|
||||
date_str = cells[1].text.strip().replace("_", "-").replace("Sept-", "Sep-")
|
||||
date_str = cells[1].text.strip().replace("_", "-")
|
||||
product_data.declare_version(version, dates.parse_date(date_str))
|
||||
|
||||
Reference in New Issue
Block a user