title: datetimepicker with bootstrap 5 not working properly
body: <p>I am quite new to JS and trying to add datetimepicker to my web-demo. The tutorial works properly with bootstrap 3.3.7, but when I change it to version 5, the calendar is not showing anymore.</p>
  <p>Minimal working html is the following</p>
  <pre><code>&lt;!-- this works OK --&gt;
  &lt;!-- &lt;link rel=&quot;stylesheet&quot; href=&quot;https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css&quot;&gt; --&gt;
  &lt;!-- this does not! --&gt;
  &lt;link rel=&quot;stylesheet&quot; href=&quot;https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css&quot;&gt;
  &lt;link rel=&quot;stylesheet&quot; href=&quot;https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datetimepicker/3.1.3/css/bootstrap-datetimepicker.min.css&quot;&gt;
  
  &lt;script src=&quot;https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js&quot;&gt;&lt;/script&gt;
  &lt;script src=&quot;https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.9.0/moment-with-locales.min.js&quot;&gt;&lt;/script&gt;
  &lt;script src=&quot;https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/js/bootstrap.min.js&quot;&gt;&lt;/script&gt;
  &lt;script src=&quot;https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datetimepicker/4.7.14/js/bootstrap-datetimepicker.min.js&quot;&gt;&lt;/script&gt;
  
  &lt;div class='input-group date' id='datetimepicker1'&gt;
    &lt;input type='text' class=&quot;form-control&quot;/&gt;
    &lt;span class=&quot;input-group-addon\&quot;&gt;  
      &lt;span class=&quot;glyphicon glyphicon-calendar&quot;&gt;&lt;/span&gt;
    &lt;/span&gt;
  &lt;/div&gt;
  
  &lt;script&gt;
    $(&quot;.date&quot;).datetimepicker({locale: &quot;ru&quot;});
  &lt;/script&gt;
  </code></pre>
  <p>I use <code>bootstrap@5.1.3</code> in the project and don't want to change it because of one datetimepicker. I've already tried many variants, but none worked. How can I get it to work?</p>
  <p>As <a href="https://stackoverflow.com/a/68683409/8900030">https://stackoverflow.com/a/68683409/8900030</a> stated, <code>https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datetimepicker/4.17.47/js/bootstrap-datetimepicker.min.js</code> is for Bootstrap 3, not Bootstrap 5.</p>
  <p>What version should I use instead? (and how do I know that?)</p>
  <p>Also note that I need <code>{locale: &quot;ru&quot;}</code> parameter, which is not available at bootsrap 3 AFAIK.</p>