ThemeParks.wiki Parks API - v2.0.0
    Preparing search index...

    Function constructDateTime

    • Construct a full ISO 8601 datetime string from separate date, time, and timezone. Replaces the per-park getXxxOffset() helpers that every park reimplemented.

      Parameters

      • dateStr: string

        Date in YYYY-MM-DD format

      • timeStr: string

        Time in HH:mm or HH:mm:ss format

      • tz: string

        IANA timezone name (e.g., 'Europe/Amsterdam', 'America/New_York')

      Returns string

      ISO 8601 string with correct timezone offset (e.g., '2024-07-15T10:00:00+02:00')