videosphere
    Preparing search index...

    Function parseScheduleHourInput

    • Parses and clamps a typed hour for schedule picker columns.

      Parameters

      • value: string

        Raw digits from the hour input.

      • use12Hour: boolean

        When true, accepts 112; otherwise 023.

      Returns number

      Clamped hour, or null when empty or non-numeric.