At the the moment, we\'re using the datetimepicker in a semi-modular way because the initialization is done in javascript. Formerly we were using a different datepicker comp
You can init datepicker options using data attributes, as you can see in the following example:
$('#datetimepicker1').datetimepicker();
You can use data-date-* to set an option or data-date-options setting an option object. The data-* initialization, in my opinion, it's poorly documented, anyway you can find some reference to it here.