title: How to remove seconds on datetimepicker?
body: <p>I have a modal which contains forms and every forms has a datetimepicker.I used format but unfortunately it didn't work. I've looked other answers however things didn't change for me. How can i remove seconds on datetimepicker input ? </p>
  
  <pre><code>   $('.sessiondate').each(function () {
          $(this).datetimepicker({
              autoclose: true,
              format: 'dd.mm.yyyy HH:mm',
              language: 'tr',
              startDate: new Date(),
              useCurrent: false,
              forceParse: false,
          }).on('changeDate', function (ev) {
              $(this).datetimepicker('hide');
          });
      });
  </code></pre>