themeparks - v7.0.0
    Preparing search index...

    Function parseApiDateTime

    • Parse a date/time string from the ThemeParks API into a JS Date.

      Accepts:

      • full ISO with offset (e.g. 2026-04-14T09:00:00-04:00)
      • ISO with Z
      • naive ISO (no zone info); interpreted as local time in timezone

      Parameters

      • input: string
      • timezone: string

      Returns Date