InitialDate is not working ?
today is 16 - 01 - 2014 i change to date 17 but it is not working
Try:
$(document).ready(function() {
$('#datetimepicker').datetimepicker({
....options
});
});
or however you want to initialize.
Also 'startDate' option sets the minimum date that can be selected. Hope this helps.
Actually hitting this issue too. Code is contained within jQuery's ready function:
$('#setQuoteDate').datetimepicker({
pickTime: false,
language: 'en',
startDate: new Date(),
initialDate: tomorrowOrMonday // A Date object set to the next day, or the following monday.
});
Yeah, initial date does not work at all, I always get the an empty input.. grrrr
I hate to be the guy that resurrects old threads, but is/was there a fix for this? I'm running in to the same issue.
+1
+1
yeah...
It doesn't seem like this repo is being maintained