EU Parliament Monitor — API Documentation - v0.8.53
    Preparing search index...
    • Return a four-digit year label for an ISO date. Used by year-ahead and year-in-review title generators.

      Parameters

      • date: string

        ISO date string

      Returns string

      Year label, or the input when parsing fails