javascript - Default date (today) bootstrap datepicker IE -


out of box datepicker highlights correct default date (today) in chrome. however, in ie 11 incorrectly picks date 03/12/2015 (way off in future).

i using following code

$('.datepicker').datetimepicker({         format: 'dd/mm/yyyy' });  <div class="input-group date datepicker">     <span class="input-group-addon">           <span class="glyphicon glyphicon-calendar"></span>     </span>     @html.textboxfor(model => model.dateofbirth, new { @class = "form-control" } </div> 

any ideas combat this?

try add: usercurrent: false

full code:

$('.datetimepicker').datetimepicker({     language: 'nl',     useseconds: false,     usecurrent: false,     showtoday: true }); 

Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -