title: datetimepicker - duplicate display when select and get data
body: <p>I'm using datetime picker in Yii2 </p>
  
  <pre><code>  DateTimePicker::widget([
                      'name' =&gt; 'dp_1',
                      'options' =&gt; [ 'id' =&gt; 'time_picker'],
                      'pluginOptions' =&gt; [
                          'todayHighlight' =&gt; true,
                      ]
                  ])
  </code></pre>
  
  <p>and get value like this:</p>
  
  <pre><code>var date = $("#time_picker").datetimepicker('getDate').getTime()/1000;
  </code></pre>
  
  <p>but when I select it display duplicate :</p>
  
  <p><a href="https://i.stack.imgur.com/6nRlO.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/6nRlO.jpg" alt="enter image description here"></a></p>
  
  <p>I have no idea about this ,please help me</p>