Commit Graph

4 Commits

Author SHA1 Message Date
Marc Wrobel
0d17306872 Simplify date parsing (#195)
Create common functions parse_date, parse_month_year_date and parse_datetime.

Those functions support trying multiple formats, and come with default formats lists that support most of the date format encountered so far.

Notable change: year-month dates are now set to the end of month (impacted couchbase-server and ibm-aix).
2023-11-26 21:01:35 +01:00
Marc Wrobel
600e77e212 Sort versions by date then version for all products (#179) 2023-11-15 22:30:31 +01:00
Marc Wrobel
85953a9e97 [rockylinux] Fix date parsing 2023-11-15 22:02:26 +01:00
Nemo
56a09215fc [rockylinux] Add release automation
Closes #109.

The diff is fairly normal, with a slight
shift of dates, which is acceptable.

```diff
-json["8.5"] = "2021-11-16";
-json["8.6"] = "2022-05-17";
-json["8.7"] = "2022-11-16";
+json["8.5"] = "2021-11-15";
+json["8.6"] = "2022-05-15";
+json["8.7"] = "2022-11-11";
+json["8.8"] = "2023-05-20";
-json["9.1"] = "2022-11-28";
+json["9.1"] = "2022-11-26";
```
2023-08-11 21:48:05 +02:00