title: How to avoid seconds in datetimepicker?
body: <p>I want to avoid seconds in datepicker dropdown.<br>
  I have the following html content:</p>
  
  <pre><code>&lt;link href="&lt;c:url value='/resources/css/bootstrap-datetimepicker.min.css'/&gt;"
                rel="stylesheet"&gt;
  &lt;script type="text/javascript"
                  src="&lt;c:url value='/resources/js/bootstrap-datetimepicker.min.js'/&gt;"&gt;&lt;/script&gt;
  ...    
      &lt;div id="startTimeDiv" class="input-append right-date-input"&gt;
              &lt;input id="startTime" name="startTime" data-format="hh:mm:ss" type="text" value=""&gt;
                          &lt;span class="add-on"&gt;
                              &lt;i data-time-icon="icon-time" data-date-icon="icon-calendar"&gt; &lt;/i&gt;
                          &lt;/span&gt;
      &lt;/div&gt;
  </code></pre>
  
  <p>and the following js:</p>
  
  <pre><code>$('#startTimeDiv').datetimepicker({
        pickDate: false,
        timeFormat:  "HH:mm"
  });
  </code></pre>
  
  <p>startTimeDiv looks like this:</p>
  
  <p><img src="https://i.stack.imgur.com/QhMLU.jpg" alt="enter image description here"></p>
  
  <p>Thus seconds didn't disappear. Why ?</p>
  
  <p><strong>P.S.</strong><br>
  I tried to reproduce it from scratch on isolated example and it works correctly. I suppose that it can be problem with another libraries interaction or different version I used on isolated example. I don't how to check datepicker version I use.</p>