videosphere
    Preparing search index...

    Function parseScheduledStartTimeZoneFromRequestBody

    • Validates optional scheduledStartTimeZone from POST/PATCH JSON. null or empty string clears the stored value; omitted fields are handled by callers.

      Parameters

      • value: unknown

        Raw scheduledStartTimeZone from a request body.

      Returns { ok: true; value: string } | { ok: false; error: string }

      Normalized IANA timezone, null to clear, or a validation error message.