Return the election-cycle label for an ISO date — pairs the outgoing and incoming EP terms with the election year (e.g. EP10 → EP11 (2029)). Used by the election-cycle title generator.
EP10 → EP11 (2029)
election-cycle
ISO date string
Cycle label, or the input when parsing fails
Return the election-cycle label for an ISO date — pairs the outgoing and incoming EP terms with the election year (e.g.
EP10 → EP11 (2029)). Used by theelection-cycletitle generator.