EU Parliament Monitor — API Documentation - v0.9.28
    Preparing search index...
    • Format YYYY-MM-DD into Mon YYYY; falls back to the raw date when invalid.

      Formats with the target language (falling back to en) so the synthesized fallback title stays locale-appropriate for Latin non-EN locales (e.g. sv/fr) instead of emitting an English month label on every page.

      Parameters

      • date: string

        ISO article date

      • lang: string

        Target language code driving the month-label locale

      Returns string

      Month/year label suitable for fallback titles