qm-code-highlight-codeblock language-js"><pre><code class="qm-code-font"><span class="hljs-keyword">var</span> render = <span class="hljs-function"><span class="hljs-keyword">function</span>(<span class="hljs-params">slider, elem, value, update, rangeStart</span>)</span>{
  hx.select(elem).text(slider.formatter(slider.valueToDate(value)))
}</code></pre></div> </div><div class="qm-html-paragraph">By default, this function will use moment.js (if available) with the &#39;HH:mm&#39; format or will convert the d