intl-sup
    Preparing search index...

    Function formatTime

    • Format a time part of a date based on current user locale.

      Parameters

      Returns string

      The formatted time string.

      1.0.0

      Browser support: Chrome 74, Edge 79, Firefox 75, Opera 62, Safari 14, Node 12, Bun 1, Deno 1.8