videosphere
    Preparing search index...

    Function formatScheduleTimeLabel

    • Formats a schedule time for screen-reader labels when the native control hides 24h values.

      Parameters

      • timeStr: string

        Stored schedule time (HH:MM).

      • Optionaloptions: { hour12?: boolean }

        Display options.

        • Optionalhour12?: boolean

          When true, formats with AM/PM; otherwise 24-hour.

      Returns string

      Locale-aware time label.